summaryrefslogtreecommitdiff
path: root/sidebar.php
diff options
context:
space:
mode:
Diffstat (limited to 'sidebar.php')
-rw-r--r--sidebar.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/sidebar.php b/sidebar.php
new file mode 100644
index 0000000..0648f4e
--- /dev/null
+++ b/sidebar.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * The sidebar containing the main widget area.
+ *
+ * @package understrap
+ */
+
+if ( ! is_active_sidebar( 'sidebar-1' ) ) {
+ return;
+}
+?>
+
+<div id="secondary" class="col-md-4 widget-area" role="complementary">
+
+ <?php dynamic_sidebar( 'sidebar-1' ); ?>
+
+</div><!-- #secondary -->