[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Displays the post header 4 * 5 * @package WordPress 6 * @subpackage Twenty_Twenty_One 7 * @since Twenty Twenty-One 1.0 8 */ 9 10 // Don't show the title if the post-format is `aside` or `status`. 11 $post_format = get_post_format(); 12 if ( 'aside' === $post_format || 'status' === $post_format ) { 13 return; 14 } 15 ?> 16 17 <header class="entry-header"> 18 <?php 19 the_title( sprintf( '<h2 class="entry-title default-max-width"><a href="%s">', esc_url( get_permalink() ) ), '</a></h2>' ); 20 twenty_twenty_one_post_thumbnail(); 21 ?> 22 </header><!-- .entry-header -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:00:03 2024 | Cross-referenced by PHPXref 0.7.1 |