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

Location:
trunk/src/wp-content/themes/twentyseventeen/template-parts
Files:
1 edited
1 moved

Legend:

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

    r38868 r38875  
    1818
    1919        <div class="custom-header-image" style="background-image: url(<?php echo esc_url( $header_image ); ?>)"></div>
    20         <?php get_template_part( 'components/header/site', 'branding' ); ?>
     20        <?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
    2121
    2222    <?php else : ?>
    2323        <?php // Otherwise, show a blank header. ?>
    2424        <div class="custom-header-simple">
    25             <?php get_template_part( 'components/header/site', 'branding' ); ?>
     25            <?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
    2626        </div><!-- .custom-header-simple -->
    2727
Note: See TracChangeset for help on using the changeset viewer.