diff options
Diffstat (limited to 'global-templates/hero.php')
| -rw-r--r-- | global-templates/hero.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/global-templates/hero.php b/global-templates/hero.php new file mode 100644 index 0000000..fb02503 --- /dev/null +++ b/global-templates/hero.php @@ -0,0 +1,25 @@ +<?php +/** + * Hero setup. + * + * @package understrap + */ + +if ( ! defined( 'ABSPATH' ) ) { + exit; // Exit if accessed directly. +} +?> + +<?php if ( is_active_sidebar( 'hero' ) || is_active_sidebar( 'statichero' ) || is_active_sidebar( 'herocanvas' ) ) : ?> + + <div class="wrapper" id="wrapper-hero"> + + <?php get_template_part( 'sidebar-templates/sidebar', 'hero' ); ?> + + <?php get_template_part( 'sidebar-templates/sidebar', 'herocanvas' ); ?> + + <?php get_template_part( 'sidebar-templates/sidebar', 'statichero' ); ?> + + </div> + +<?php endif; ?> |
