Make WordPress Core


Ignore:
Timestamp:
10/23/2016 12:06:10 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/archive.php

    r38833 r38873  
    3838                 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    3939                 */
    40                 get_template_part( 'components/post/content', get_post_format() );
     40                get_template_part( 'template-parts/post/content', get_post_format() );
    4141
    4242            endwhile;
     
    5050        else :
    5151
    52             get_template_part( 'components/post/content', 'none' );
     52            get_template_part( 'template-parts/post/content', 'none' );
    5353
    5454        endif; ?>
Note: See TracChangeset for help on using the changeset viewer.