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/index.php

    r38874 r38875  
    4343                     * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    4444                     */
    45                     get_template_part( 'components/post/content', get_post_format() );
     45                    get_template_part( 'template-parts/post/content', get_post_format() );
    4646
    4747                endwhile;
     
    5555            else :
    5656
    57                 get_template_part( 'components/post/content', 'none' );
     57                get_template_part( 'template-parts/post/content', 'none' );
    5858
    5959            endif;
Note: See TracChangeset for help on using the changeset viewer.