Move sidebar template parts from loop-templates to new sidebar-templates directory

This commit is contained in:
Alex Wright 2018-06-25 10:11:20 -05:00
parent 942c3fe8f5
commit 363e8a7d00
13 changed files with 10 additions and 10 deletions

View File

@ -11,7 +11,7 @@ $the_theme = wp_get_theme();
$container = get_theme_mod( 'understrap_container_type' );
?>
<?php get_template_part( 'loop-templates/sidebar', 'footerfull' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'footerfull' ); ?>
<div class="wrapper" id="wrapper-footer">

View File

@ -11,11 +11,11 @@
<div class="wrapper" id="wrapper-hero">
<?php get_template_part( 'loop-templates/sidebar', 'hero' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'hero' ); ?>
<?php get_template_part( 'loop-templates/sidebar', 'herocanvas' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'herocanvas' ); ?>
<?php get_template_part( 'loop-templates/sidebar', 'statichero' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'statichero' ); ?>
</div>

View File

@ -12,7 +12,7 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
?>
<?php if ( 'left' === $sidebar_pos || 'both' === $sidebar_pos ) : ?>
<?php get_template_part( 'loop-templates/sidebar', 'left' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'left' ); ?>
<?php endif; ?>
<?php

View File

@ -12,6 +12,6 @@
<?php if ( 'right' === $sidebar_pos || 'both' === $sidebar_pos ) : ?>
<?php get_template_part( 'loop-templates/sidebar', 'right' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
<?php endif; ?>

View File

@ -17,7 +17,7 @@ $container = get_theme_mod( 'understrap_container_type' );
<div class="row">
<?php get_template_part( 'loop-templates/sidebar', 'left' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'left' ); ?>
<div
class="<?php
@ -46,7 +46,7 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #primary -->
<?php get_template_part( 'loop-templates/sidebar', 'right' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
</div><!-- .row -->

View File

@ -17,7 +17,7 @@ $container = get_theme_mod( 'understrap_container_type' );
<div class="row">
<?php get_template_part( 'loop-templates/sidebar', 'left' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'left' ); ?>
<div
class="<?php if ( is_active_sidebar( 'left-sidebar' ) ) : ?>col-md-8<?php else : ?>col-md-12<?php endif; ?> content-area"

View File

@ -40,7 +40,7 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- #primary -->
<?php get_template_part( 'loop-templates/sidebar', 'right' ); ?>
<?php get_template_part( 'sidebar-templates/sidebar', 'right' ); ?>
</div><!-- .row -->