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/global-templates/hero.php

23 lines
473 B
PHP
Raw Normal View History

2017-01-09 15:08:01 +00:00
<?php
/**
* Hero setup.
*
* @package understrap
*/
2017-01-27 12:16:14 +00:00
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">
<?php get_template_part( 'sidebar-templates/sidebar', 'hero' ); ?>
2017-01-09 15:08:01 +00:00
<?php get_template_part( 'sidebar-templates/sidebar', 'herocanvas' ); ?>
2018-04-13 18:19:33 +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; ?>