Changeset 42343 for trunk/src/wp-content/themes/twentyfourteen/page.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/page.php
r26761 r42343 17 17 18 18 <?php 19 if ( is_front_page() && twentyfourteen_has_featured_posts() ) {20 // Include the featured content template.21 get_template_part( 'featured-content' );22 }19 if ( is_front_page() && twentyfourteen_has_featured_posts() ) { 20 // Include the featured content template. 21 get_template_part( 'featured-content' ); 22 } 23 23 ?> 24 24 <div id="primary" class="content-area"> … … 27 27 <?php 28 28 // Start the Loop. 29 while ( have_posts() ) : the_post(); 29 while ( have_posts() ) : 30 the_post(); 30 31 31 // Include the page content template.32 get_template_part( 'content', 'page' );32 // Include the page content template. 33 get_template_part( 'content', 'page' ); 33 34 34 // If comments are open or we have at least one comment, load up the comment template.35 if ( comments_open() || get_comments_number() ) {36 comments_template();37 }35 // If comments are open or we have at least one comment, load up the comment template. 36 if ( comments_open() || get_comments_number() ) { 37 comments_template(); 38 } 38 39 endwhile; 39 40 ?>
Note: See TracChangeset
for help on using the changeset viewer.