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.
2017-01-09 15:08:01 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2019-11-14 17:16:31 +00:00
|
|
|
* Hero setup
|
2017-01-09 15:08:01 +00:00
|
|
|
*
|
|
|
|
* @package understrap
|
|
|
|
*/
|
2017-01-27 12:16:14 +00:00
|
|
|
|
2019-06-20 08:57:12 +00:00
|
|
|
// Exit if accessed directly.
|
|
|
|
defined( 'ABSPATH' ) || exit;
|
2017-01-09 15:08:01 +00:00
|
|
|
|
2020-04-19 10:08:39 +00:00
|
|
|
if ( is_active_sidebar( 'hero' ) || is_active_sidebar( 'statichero' ) || is_active_sidebar( 'herocanvas' ) ) :
|
|
|
|
?>
|
2017-01-09 15:08:01 +00:00
|
|
|
|
|
|
|
<div class="wrapper" id="wrapper-hero">
|
2018-11-18 23:48:38 +00:00
|
|
|
|
2020-04-19 10:08:39 +00:00
|
|
|
<?php
|
|
|
|
get_template_part( 'sidebar-templates/sidebar', 'hero' );
|
|
|
|
get_template_part( 'sidebar-templates/sidebar', 'herocanvas' );
|
|
|
|
get_template_part( 'sidebar-templates/sidebar', 'statichero' );
|
|
|
|
?>
|
2017-01-09 15:08:01 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2020-04-19 10:08:39 +00:00
|
|
|
<?php
|
|
|
|
endif;
|