Move template parts into their own dedicated folder and update Infinite Scroll to reflect this change. See #642. Props @leopuleo.

This commit is contained in:
Philip Arthur Moore 2015-04-29 08:42:12 +07:00
parent ff6337943b
commit 71d4231cbe
11 changed files with 17 additions and 9 deletions

View file

@ -29,7 +29,7 @@ get_header(); ?>
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
get_template_part( 'template-parts/content', get_post_format() );
?>
<?php endwhile; ?>
@ -38,7 +38,7 @@ get_header(); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php get_template_part( 'template-parts/content', 'none' ); ?>
<?php endif; ?>