Make WordPress Core


Ignore:
Timestamp:
10/23/2016 12:28:27 PM (8 years ago)
Author:
karmatosed
Message:

Twenty Seventeen: Renaming of directory structure

This changes components directory to be called template-parts. Changes reflected in all files that call those sections.

Props bronsonquick, dd32

Fixes #38375

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/header.php

    r38874 r38875  
    2929    <header id="masthead" class="site-header" role="banner">
    3030
    31         <?php get_template_part( 'components/header/header', 'image' ); ?>
     31        <?php get_template_part( 'template-parts/header/header', 'image' ); ?>
    3232
    3333        <?php if ( has_nav_menu( 'top' ) ) : ?>
    3434            <div class="navigation-top">
    3535                <div class="wrap">
    36                     <?php get_template_part( 'components/navigation/navigation', 'top' ); ?>
     36                    <?php get_template_part( 'template-parts/navigation/navigation', 'top' ); ?>
    3737                </div><!-- .wrap -->
    3838            </div><!-- .navigation-top -->
Note: See TracChangeset for help on using the changeset viewer.