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
464 B
PHP

<?php
/**
* Hero setup.
*
* @package understrap
*/
?>
<?php if ( is_active_sidebar( 'hero' ) || is_active_sidebar( 'statichero' ) || is_active_sidebar( 'herocanvas' ) ) : ?>
<div class="wrapper" id="wrapper-hero">
<?php get_template_part( 'loop-templates/sidebar', 'hero' ); ?>
<?php get_template_part( 'loop-templates/sidebar', 'herocanvas' ); ?>
<?php get_template_part( 'loop-templates/sidebar', 'statichero' ); ?>
</div>
<?php endif; ?>