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:
parent
ff6337943b
commit
71d4231cbe
11 changed files with 17 additions and 9 deletions
|
@ -25,7 +25,7 @@ get_header(); ?>
|
|||
* If you want to overload this in a child theme then include a file
|
||||
* called content-search.php and that will be used instead.
|
||||
*/
|
||||
get_template_part( 'content', 'search' );
|
||||
get_template_part( 'template-parts/content', 'search' );
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
@ -34,7 +34,7 @@ get_header(); ?>
|
|||
|
||||
<?php else : ?>
|
||||
|
||||
<?php get_template_part( 'content', 'none' ); ?>
|
||||
<?php get_template_part( 'template-parts/content', 'none' ); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue