diff options
| author | Max | 2018-10-15 23:46:42 +0200 |
|---|---|---|
| committer | Max | 2018-10-15 23:46:42 +0200 |
| commit | 00c9709fd9763542e848f6278db8ba26af5c9886 (patch) | |
| tree | 92cb1c1ee4c467118e1e5a4c7e233d3feac6efa8 /global-templates/hero.php | |
| download | fuselkoenig_de-00c9709fd9763542e848f6278db8ba26af5c9886.tar.gz | |
Initial commit.
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; ?> |
