Moving Loops to subdirectory

This commit is contained in:
koenemann 2016-01-22 13:59:47 +01:00
parent 69cb9e8355
commit 0833d2ed3e
11 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,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( 'loop-templates/content', get_post_format() );
?>
<?php endwhile; ?>

View File

@ -36,7 +36,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( 'loop-templates/content', get_post_format() );
?>
<?php endwhile; ?>

View File

@ -19,7 +19,7 @@ get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php get_template_part( 'loop-templates/content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template

View File

@ -21,7 +21,7 @@ get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php get_template_part( 'loop-templates/content', 'page' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template

View File

@ -29,7 +29,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( 'loop-templates/content', 'search' );
?>
<?php endwhile; ?>

View File

@ -16,7 +16,7 @@ get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' ); ?>
<?php get_template_part( 'loop-templates/content', 'single' ); ?>
<?php understrap_post_nav(); ?>