[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template part for displaying single posts 4 * 5 * @package WordPress 6 * @subpackage Twenty_Sixteen 7 * @since Twenty Sixteen 1.0 8 */ 9 ?> 10 11 <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 12 <header class="entry-header"> 13 <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?> 14 </header><!-- .entry-header --> 15 16 <?php twentysixteen_excerpt(); ?> 17 18 <?php twentysixteen_post_thumbnail(); ?> 19 20 <div class="entry-content"> 21 <?php 22 the_content(); 23 24 wp_link_pages( 25 array( 26 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentysixteen' ) . '</span>', 27 'after' => '</div>', 28 'link_before' => '<span>', 29 'link_after' => '</span>', 30 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>%', 31 'separator' => '<span class="screen-reader-text">, </span>', 32 ) 33 ); 34 35 if ( '' !== get_the_author_meta( 'description' ) ) { 36 get_template_part( 'template-parts/biography' ); 37 } 38 ?> 39 </div><!-- .entry-content --> 40 41 <footer class="entry-footer"> 42 <?php twentysixteen_entry_meta(); ?> 43 <?php 44 edit_post_link( 45 sprintf( 46 /* translators: %s: Post title. Only visible to screen readers. */ 47 __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), 48 get_the_title() 49 ), 50 '<span class="edit-link">', 51 '</span>' 52 ); 53 ?> 54 </footer><!-- .entry-footer --> 55 </article><!-- #post-<?php the_ID(); ?> -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 24 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |