- Timestamp:
- 11/30/2017 11:09:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/front-page.php
r39732 r42343 18 18 <main id="main" class="site-main" role="main"> 19 19 20 <?php // Show the selected frontpage content. 20 <?php 21 // Show the selected frontpage content. 21 22 if ( have_posts() ) : 22 while ( have_posts() ) : the_post(); 23 while ( have_posts() ) : 24 the_post(); 23 25 get_template_part( 'template-parts/page/content', 'front-page' ); 24 26 endwhile; 25 27 else : // I'm not sure it's possible to have no posts when this page is shown, but WTH. 26 28 get_template_part( 'template-parts/post/content', 'none' ); 27 endif; ?> 29 endif; 30 ?> 28 31 29 32 <?php … … 47 50 } 48 51 49 endif; // The if ( 0 !== twentyseventeen_panel_count() ) ends here. ?> 52 endif; // The if ( 0 !== twentyseventeen_panel_count() ) ends here. 53 ?> 50 54 51 55 </main><!-- #main --> 52 56 </div><!-- #primary --> 53 57 54 <?php get_footer(); 58 <?php 59 get_footer();
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)