2016-11-21 18:47:05 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Static hero sidebar setup.
|
|
|
|
*
|
|
|
|
* @package understrap
|
|
|
|
*/
|
2017-02-01 16:10:32 +00:00
|
|
|
|
2019-06-20 08:57:12 +00:00
|
|
|
// Exit if accessed directly.
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
2017-01-27 14:37:59 +00:00
|
|
|
|
2018-11-18 22:57:22 +00:00
|
|
|
$container = get_theme_mod( 'understrap_container_type' );
|
2016-11-21 18:47:05 +00:00
|
|
|
?>
|
2017-01-25 09:24:51 +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">
|
2016-11-01 15:25:21 +00:00
|
|
|
|
2017-06-08 14:54:29 +00:00
|
|
|
<div class="<?php echo esc_attr( $container ); ?>" id="wrapper-static-content" tabindex="-1">
|
2017-01-25 09:24:51 +00:00
|
|
|
|
|
|
|
<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; ?>
|