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
|
|
|
|
/**
|
|
|
|
* Hero setup.
|
|
|
|
*
|
|
|
|
* @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
|
|
|
?>
|
|
|
|
|
2018-04-13 18:19:33 +00:00
|
|
|
<?php 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
|
|
|
|
2018-06-25 15:11:20 +00:00
|
|
|
<?php get_template_part( 'sidebar-templates/sidebar', 'hero' ); ?>
|
2018-11-18 23:48:38 +00:00
|
|
|
|
2018-06-25 15:11:20 +00:00
|
|
|
<?php get_template_part( 'sidebar-templates/sidebar', 'herocanvas' ); ?>
|
2018-04-13 18:19:33 +00:00
|
|
|
|
2018-06-25 15:11:20 +00:00
|
|
|
<?php get_template_part( 'sidebar-templates/sidebar', 'statichero' ); ?>
|
2017-01-09 15:08:01 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2017-01-27 12:22:02 +00:00
|
|
|
<?php endif; ?>
|