Changeset 38874
- Timestamp:
- 10/23/2016 12:22:25 PM (8 years ago)
- Location:
- trunk/src/wp-content/themes/twentyseventeen
- Files:
-
- 1 deleted
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/archive.php
r38873 r38874 38 38 * called content-___.php (where ___ is the Post Format name) and that will be used instead. 39 39 */ 40 get_template_part( ' template-parts/post/content', get_post_format() );40 get_template_part( 'components/post/content', get_post_format() ); 41 41 42 42 endwhile; … … 50 50 else : 51 51 52 get_template_part( ' template-parts/post/content', 'none' );52 get_template_part( 'components/post/content', 'none' ); 53 53 54 54 endif; ?> -
trunk/src/wp-content/themes/twentyseventeen/footer.php
r38873 r38874 20 20 <div class="wrap"> 21 21 <?php 22 get_template_part( ' template-parts/footer/footer', 'widgets' );22 get_template_part( 'components/footer/footer', 'widgets' ); 23 23 24 24 if ( has_nav_menu( 'social' ) ) : ?> … … 36 36 <?php endif; 37 37 38 get_template_part( ' template-parts/footer/site', 'info' );38 get_template_part( 'components/footer/site', 'info' ); 39 39 ?> 40 40 </div><!-- .wrap --> -
trunk/src/wp-content/themes/twentyseventeen/front-page.php
r38873 r38874 21 21 if ( have_posts() ) : 22 22 while ( have_posts() ) : the_post(); 23 get_template_part( ' template-parts/page/content', 'front-page' );23 get_template_part( 'components/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( ' template-parts/post/content', 'none' );26 get_template_part( 'components/post/content', 'none' ); 27 27 endif; ?> 28 28 … … 32 32 $titles = array(); 33 33 34 global $twentyseventeencounter; // Used in template-parts/page/content-front-page-panels.php file.34 global $twentyseventeencounter; // Used in components/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( ' template-parts/page/content', 'front-page-panels' );47 get_template_part( 'components/page/content', 'front-page-panels' ); 48 48 49 49 wp_reset_postdata(); -
trunk/src/wp-content/themes/twentyseventeen/header.php
r38873 r38874 29 29 <header id="masthead" class="site-header" role="banner"> 30 30 31 <?php get_template_part( ' template-parts/header/header', 'image' ); ?>31 <?php get_template_part( 'components/header/header', 'image' ); ?> 32 32 33 33 <?php if ( has_nav_menu( 'top' ) ) : ?> 34 34 <div class="navigation-top"> 35 35 <div class="wrap"> 36 <?php get_template_part( ' template-parts/navigation/navigation', 'top' ); ?>36 <?php get_template_part( 'components/navigation/navigation', 'top' ); ?> 37 37 </div><!-- .wrap --> 38 38 </div><!-- .navigation-top --> -
trunk/src/wp-content/themes/twentyseventeen/index.php
r38873 r38874 43 43 * called content-___.php (where ___ is the Post Format name) and that will be used instead. 44 44 */ 45 get_template_part( ' template-parts/post/content', get_post_format() );45 get_template_part( 'components/post/content', get_post_format() ); 46 46 47 47 endwhile; … … 55 55 else : 56 56 57 get_template_part( ' template-parts/post/content', 'none' );57 get_template_part( 'components/post/content', 'none' ); 58 58 59 59 endif; -
trunk/src/wp-content/themes/twentyseventeen/page.php
r38873 r38874 25 25 while ( have_posts() ) : the_post(); 26 26 27 get_template_part( ' template-parts/page/content', 'page' );27 get_template_part( 'components/page/content', 'page' ); 28 28 29 29 // If comments are open or we have at least one comment, load up the comment template. -
trunk/src/wp-content/themes/twentyseventeen/search.php
r38873 r38874 36 36 * called content-search.php and that will be used instead. 37 37 */ 38 get_template_part( ' template-parts/post/content', 'excerpt' );38 get_template_part( 'components/post/content', 'excerpt' ); 39 39 40 40 endwhile; // End of the loop. -
trunk/src/wp-content/themes/twentyseventeen/single.php
r38873 r38874 21 21 while ( have_posts() ) : the_post(); 22 22 23 get_template_part( ' template-parts/post/content', get_post_format() );23 get_template_part( 'components/post/content', get_post_format() ); 24 24 25 25 // If comments are open or we have at least one comment, load up the comment template.
Note: See TracChangeset
for help on using the changeset viewer.