33 lines
615 B
PHP
33 lines
615 B
PHP
<?php
|
|
/**
|
|
* Static hero sidebar setup.
|
|
*
|
|
* @package understrap
|
|
*/
|
|
|
|
// Exit if accessed directly.
|
|
defined( 'ABSPATH' ) || exit;
|
|
|
|
$container = get_theme_mod( 'understrap_container_type' );
|
|
?>
|
|
|
|
<?php if ( is_active_sidebar( 'statichero' ) ) : ?>
|
|
|
|
<!-- ******************* The Hero Widget Area ******************* -->
|
|
|
|
<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>
|
|
|
|
</div><!-- #wrapper-static-hero -->
|
|
|
|
<?php endif; ?>
|