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
|
|
|
|
2018-09-10 21:59:04 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // Exit if accessed directly.
|
|
|
|
}
|
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-06-25 15:11:20 +00:00
|
|
|
<?php get_template_part( 'sidebar-templates/sidebar', 'hero' ); ?>
|
2017-01-09 15:08:01 +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; ?>
|