[ 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_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 if ( ! is_page() ) : ?> 15 <div class="entry-meta"> 16 <?php twentynineteen_posted_by(); ?> 17 <?php twentynineteen_posted_on(); ?> 18 <span class="comment-count"> 19 <?php 20 if ( ! empty( $discussion ) ) { 21 twentynineteen_discussion_avatars_list( $discussion->authors ); 22 } 23 ?> 24 <?php twentynineteen_comment_count(); ?> 25 </span> 26 <?php 27 // Edit post link. 28 edit_post_link( 29 sprintf( 30 wp_kses( 31 /* translators: %s: Post title. Only visible to screen readers. */ 32 __( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ), 33 array( 34 'span' => array( 35 'class' => array(), 36 ), 37 ) 38 ), 39 get_the_title() 40 ), 41 '<span class="edit-link">' . twentynineteen_get_icon_svg( 'edit', 16 ), 42 '</span>' 43 ); 44 ?> 45 </div><!-- .entry-meta --> 46 <?php endif; ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Dec 3 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |