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

33 lines
612 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
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
?>
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
<?php endif;