summaryrefslogtreecommitdiff
path: root/sidebar.php
diff options
context:
space:
mode:
authorMax2018-10-15 23:46:42 +0200
committerMax2018-10-15 23:46:42 +0200
commit00c9709fd9763542e848f6278db8ba26af5c9886 (patch)
tree92cb1c1ee4c467118e1e5a4c7e233d3feac6efa8 /sidebar.php
downloadfuselkoenig_de-00c9709fd9763542e848f6278db8ba26af5c9886.tar.gz
Initial commit.
Diffstat (limited to 'sidebar.php')
-rw-r--r--sidebar.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/sidebar.php b/sidebar.php
new file mode 100644
index 0000000..b0537c6
--- /dev/null
+++ b/sidebar.php
@@ -0,0 +1,21 @@
+<?php
+/**
+ * The sidebar containing the main widget area.
+ *
+ * @package understrap
+ */
+
+if ( ! defined( 'ABSPATH' ) ) {
+ exit; // Exit if accessed directly.
+}
+
+if ( ! is_active_sidebar( 'sidebar-1' ) ) {
+ return;
+}
+?>
+
+<div class="col-md-4 widget-area align-self-center" id="secondary" role="complementary">
+
+ <?php dynamic_sidebar( 'sidebar-1' ); ?>
+
+</div><!-- #secondary -->