[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The template part for displaying content 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 if ( is_sticky() && is_home() && ! is_paged() ) : ?> 14 <span class="sticky-post"><?php _e( 'Featured', 'twentysixteen' ); ?></span> 15 <?php endif; ?> 16 17 <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> 18 </header><!-- .entry-header --> 19 20 <?php twentysixteen_excerpt(); ?> 21 22 <?php twentysixteen_post_thumbnail(); ?> 23 24 <div class="entry-content"> 25 <?php 26 the_content( 27 sprintf( 28 /* translators: %s: Post title. Only visible to screen readers. */ 29 __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), 30 get_the_title() 31 ) 32 ); 33 34 wp_link_pages( 35 array( 36 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentysixteen' ) . '</span>', 37 'after' => '</div>', 38 'link_before' => '<span>', 39 'link_after' => '</span>', 40 'pagelink' => '<span class="screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>%', 41 'separator' => '<span class="screen-reader-text">, </span>', 42 ) 43 ); 44 ?> 45 </div><!-- .entry-content --> 46 47 <footer class="entry-footer"> 48 <?php twentysixteen_entry_meta(); ?> 49 <?php 50 edit_post_link( 51 sprintf( 52 /* translators: %s: Post title. Only visible to screen readers. */ 53 __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ), 54 get_the_title() 55 ), 56 '<span class="edit-link">', 57 '</span>' 58 ); 59 ?> 60 </footer><!-- .entry-footer --> 61 </article><!-- #post-<?php the_ID(); ?> -->
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 25 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |