add .container and .row markup to new dynamic sidebar footer full and static hero

This commit is contained in:
Holger Könemann 2017-01-25 10:24:51 +01:00
parent ef7c58099c
commit eeb27b00c7
2 changed files with 21 additions and 4 deletions

View File

@ -4,7 +4,7 @@
* *
* @package understrap * @package understrap
*/ */
$container = get_theme_mod( 'understrap_container_type' );
?> ?>
<?php if ( is_active_sidebar( 'footerfull' ) ) : ?> <?php if ( is_active_sidebar( 'footerfull' ) ) : ?>
@ -13,8 +13,16 @@
<div class="wrapper" id="wrapper-footer-full"> <div class="wrapper" id="wrapper-footer-full">
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
<div class="row">
<?php dynamic_sidebar( 'footerfull' ); ?> <?php dynamic_sidebar( 'footerfull' ); ?>
</div>
</div>
</div><!-- #wrapper-footer-full --> </div><!-- #wrapper-footer-full -->
<?php endif; ?> <?php endif; ?>

View File

@ -4,16 +4,25 @@
* *
* @package understrap * @package understrap
*/ */
$container = get_theme_mod( 'understrap_container_type' );
?> ?>
<?php if ( is_active_sidebar( 'statichero' ) ) : ?> <?php if ( is_active_sidebar( 'statichero' ) ) : ?>
<!-- ******************* The Hero Widget Area ******************* --> <!-- ******************* The Hero Widget Area ******************* -->
<div class="wrapper" id="wrapper-static-hero"> <div class="wrapper" id="wrapper-static-hero">
<div class="<?php echo esc_html( $container ); ?>" id="content" tabindex="-1">
<div class="row">
<?php dynamic_sidebar( 'statichero' ); ?> <?php dynamic_sidebar( 'statichero' ); ?>
</div>
</div>
</div><!-- #wrapper-static-hero --> </div><!-- #wrapper-static-hero -->
<?php endif; ?> <?php endif; ?>