[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Displays the post header 4 * 5 * @package WordPress 6 * @subpackage Twenty_Nineteen 7 * @since Twenty Nineteen 1.0 8 */ 9 10 $discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?> 11 12 <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> 13 14 <?php 15 if ( ! is_page() ) : 16 ?> 17 <div class="entry-meta"> 18 <?php twentynineteen_posted_by(); ?> 19 <?php twentynineteen_posted_on(); ?> 20 <span class="comment-count"> 21 <?php 22 if ( ! empty( $discussion ) ) { 23 twentynineteen_discussion_avatars_list( $discussion->authors ); 24 } 25 ?> 26 <?php twentynineteen_comment_count(); ?> 27 </span> 28 <?php 29 // Edit post link. 30 edit_post_link( 31 sprintf( 32 wp_kses( 33 /* translators: %s: Post title. Only visible to screen readers. */ 34 __( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ), 35 array( 36 'span' => array( 37 'class' => array(), 38 ), 39 ) 40 ), 41 get_the_title() 42 ), 43 '<span class="edit-link">' . twentynineteen_get_icon_svg( 'edit', 16 ), 44 '</span>' 45 ); 46 ?> 47 </div><!-- .entry-meta --> 48 <?php 49 endif;
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |