Changeset 26761
- Timestamp:
- 12/07/2013 12:53:33 AM (11 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfourteen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/index.php
r26556 r26761 20 20 21 21 <?php 22 if ( is_front_page() && twentyfourteen_has_featured_posts() ) :22 if ( is_front_page() && twentyfourteen_has_featured_posts() ) { 23 23 // Include the featured content template. 24 24 get_template_part( 'featured-content' ); 25 endif;25 } 26 26 ?> 27 27 -
trunk/src/wp-content/themes/twentyfourteen/page.php
r26757 r26761 17 17 18 18 <?php 19 if ( is_front_page() && twentyfourteen_has_featured_posts() ) :19 if ( is_front_page() && twentyfourteen_has_featured_posts() ) { 20 20 // Include the featured content template. 21 21 get_template_part( 'featured-content' ); 22 endif;22 } 23 23 ?> 24 24 <div id="primary" class="content-area"> … … 33 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() ) :35 if ( comments_open() || get_comments_number() ) { 36 36 comments_template(); 37 endif;37 } 38 38 endwhile; 39 39 ?>
Note: See TracChangeset
for help on using the changeset viewer.