Changeset 25021 for trunk/src/wp-content/themes/twentyfourteen/single.php
- Timestamp:
- 08/14/2013 04:38:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/single.php
r24832 r25021 11 11 <div id="primary" class="content-area"> 12 12 <div id="content" class="site-content" role="main"> 13 <?php 14 while ( have_posts() ) : 15 the_post(); 13 16 14 <?php while ( have_posts() ) : the_post(); ?>17 get_template_part( 'content', 'single' ); 15 18 16 <?php get_template_part( 'content', 'single' ); ?>19 twentyfourteen_content_nav( 'nav-below' ); 17 20 18 <?php twentyfourteen_content_nav( 'nav-below' ); ?> 21 // If comments are open or we have at least one comment, load up the comment template. 22 if ( comments_open() || get_comments_number() ) 23 comments_template(); 24 endwhile; 25 ?> 26 </div><!-- #content --> 27 </div><!-- #primary --> 19 28 20 <?php 21 // If comments are open or we have at least one comment, load up the comment template 22 if ( comments_open() || '0' != get_comments_number() ) 23 comments_template( '', true ); 24 ?> 25 26 <?php endwhile; // end of the loop. ?> 27 28 </div><!-- #content .site-content --> 29 </div><!-- #primary .content-area --> 30 31 <?php get_sidebar( 'content' ); ?> 32 33 <?php get_sidebar(); ?> 34 35 <?php get_footer(); ?> 29 <?php 30 get_sidebar( 'content' ); 31 get_sidebar(); 32 get_footer();
Note: See TracChangeset
for help on using the changeset viewer.