This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/sidebar-templates/sidebar-statichero.php

31 lines
555 B
PHP
Raw Normal View History

2016-11-21 18:47:05 +00:00
<?php
/**
* Static hero sidebar setup.
*
* @package understrap
*/
2017-02-01 16:10:32 +00:00
2018-09-01 18:16:42 +00:00
$container = get_theme_mod( 'understrap_container_type' );
2017-01-27 14:37:59 +00:00
2016-11-21 18:47:05 +00:00
?>
2016-11-21 18:47:05 +00:00
<?php if ( is_active_sidebar( 'statichero' ) ) : ?>
2015-08-13 12:15:57 +00:00
2016-11-21 18:47:05 +00:00
<!-- ******************* The Hero Widget Area ******************* -->
2015-08-13 12:15:57 +00:00
2016-11-21 18:47:05 +00:00
<div class="wrapper" id="wrapper-static-hero">
<div class="<?php echo esc_attr( $container ); ?>" id="wrapper-static-content" tabindex="-1">
<div class="row">
<?php dynamic_sidebar( 'statichero' ); ?>
</div>
</div>
2016-11-21 18:47:05 +00:00
</div><!-- #wrapper-static-hero -->
2016-01-22 13:02:32 +00:00
2015-08-13 12:00:24 +00:00
<?php endif; ?>