- Timestamp:
- 10/23/2016 12:06:10 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/front-page.php
r38833 r38873 21 21 if ( have_posts() ) : 22 22 while ( have_posts() ) : the_post(); 23 get_template_part( ' components/page/content', 'front-page' );23 get_template_part( 'template-parts/page/content', 'front-page' ); 24 24 endwhile; 25 25 else : // I'm not sure it's possible to have no posts when this page is shown, but WTH. 26 get_template_part( ' components/post/content', 'none' );26 get_template_part( 'template-parts/post/content', 'none' ); 27 27 endif; ?> 28 28 … … 32 32 $titles = array(); 33 33 34 global $twentyseventeencounter; // Used in components/page/content-front-page-panels.php file.34 global $twentyseventeencounter; // Used in template-parts/page/content-front-page-panels.php file. 35 35 36 36 if ( 0 !== twentyseventeen_panel_count() || is_customize_preview() ) : // If we have pages to show. … … 45 45 46 46 $titles[] = get_the_title(); // Put page titles in an array for use in navigation. 47 get_template_part( ' components/page/content', 'front-page-panels' );47 get_template_part( 'template-parts/page/content', 'front-page-panels' ); 48 48 49 49 wp_reset_postdata();
Note: See TracChangeset
for help on using the changeset viewer.