- 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-templates/full-width.php
r26556 r42343 13 13 14 14 <?php 15 if ( is_front_page() && twentyfourteen_has_featured_posts() ) {16 // Include the featured content template.17 get_template_part( 'featured-content' );18 }15 if ( is_front_page() && twentyfourteen_has_featured_posts() ) { 16 // Include the featured content template. 17 get_template_part( 'featured-content' ); 18 } 19 19 ?> 20 20 … … 23 23 <?php 24 24 // Start the Loop. 25 while ( have_posts() ) : the_post(); 25 while ( have_posts() ) : 26 the_post(); 26 27 27 // Include the page content template.28 get_template_part( 'content', 'page' );28 // Include the page content template. 29 get_template_part( 'content', 'page' ); 29 30 30 // If comments are open or we have at least one comment, load up the comment template.31 if ( comments_open() || get_comments_number() ) {32 comments_template();33 }31 // If comments are open or we have at least one comment, load up the comment template. 32 if ( comments_open() || get_comments_number() ) { 33 comments_template(); 34 } 34 35 endwhile; 35 36 ?>
Note: See TracChangeset
for help on using the changeset viewer.