summaryrefslogtreecommitdiff
path: root/sidebar-templates/sidebar-statichero.php
diff options
context:
space:
mode:
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; ?>