summaryrefslogtreecommitdiff
path: root/sidebar-templates/sidebar-statichero.php
diff options
context:
space:
mode:
authorMax2018-10-15 23:46:42 +0200
committerMax2018-10-15 23:46:42 +0200
commit00c9709fd9763542e848f6278db8ba26af5c9886 (patch)
tree92cb1c1ee4c467118e1e5a4c7e233d3feac6efa8 /sidebar-templates/sidebar-statichero.php
downloadfuselkoenig_de-00c9709fd9763542e848f6278db8ba26af5c9886.tar.gz
Initial commit.
Diffstat (limited to 'sidebar-templates/sidebar-statichero.php')
-rw-r--r--sidebar-templates/sidebar-statichero.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/sidebar-templates/sidebar-statichero.php b/sidebar-templates/sidebar-statichero.php
new file mode 100644
index 0000000..2b6c53d
--- /dev/null
+++ b/sidebar-templates/sidebar-statichero.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * Static hero sidebar setup.
+ *
+ * @package understrap
+ */
+
+$container = get_theme_mod( 'understrap_container_type' );
+if ( ! defined( 'ABSPATH' ) ) {
+ exit; // Exit if accessed directly.
+}
+
+?>
+
+<?php if ( is_active_sidebar( 'statichero' ) ) : ?>
+
+ <!-- ******************* The Hero Widget Area ******************* -->
+
+ <div class="wrapper" id="wrapper-static-hero">
+
+ <div class="<?php echo esc_attr( $container ); ?>" id="wrapper-static-content" tabindex="-1">
+
+ <div class="row">
+
+ <?php dynamic_sidebar( 'statichero' ); ?>
+
+ </div>
+
+ </div>
+
+ </div><!-- #wrapper-static-hero -->
+
+<?php endif; ?>