[ Index ] |
PHP Cross Reference of WordPress |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The Template for displaying all single posts 4 * 5 * @package WordPress 6 * @subpackage Twenty_Fourteen 7 * @since Twenty Fourteen 1.0 8 */ 9 10 get_header(); ?> 11 12 <div id="primary" class="content-area"> 13 <div id="content" class="site-content" role="main"> 14 <?php 15 // Start the Loop. 16 while ( have_posts() ) : 17 the_post(); 18 19 /* 20 * Include the post format-specific template for the content. If you want 21 * to use this in a child theme, then include a file called content-___.php 22 * (where ___ is the post format) and that will be used instead. 23 */ 24 get_template_part( 'content', get_post_format() ); 25 26 // Previous/next post navigation. 27 twentyfourteen_post_nav(); 28 29 // If comments are open or we have at least one comment, load up the comment template. 30 if ( comments_open() || get_comments_number() ) { 31 comments_template(); 32 } 33 endwhile; 34 ?> 35 </div><!-- #content --> 36 </div><!-- #primary --> 37 38 <?php 39 get_sidebar( 'content' ); 40 get_sidebar(); 41 get_footer();
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 |