Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / sidebar.php
diff options
context:
space:
mode:
Commitb5ff668df547b07b4341d07669cb052cd31cf11e (patch)
Author
 metodiew <stanko@metodiew.com>
2020-07-01 16:52:45 +0300
Committer
 metodiew <stanko@metodiew.com>
2020-07-01 16:52:45 +0300
Files208fb4201480148f45cc84151bb902b3371cc12e /wp-content/themes/carmag/sidebar.php
tues-interns-2020-b5ff668df547b07b4341d07669cb052cd31cf11e.tar
tues-interns-2020-b5ff668df547b07b4341d07669cb052cd31cf11e.tar.gz
tues-interns-2020-b5ff668df547b07b4341d07669cb052cd31cf11e.zip
Parent93b8cb35070e98c49f101162d096e61799fc8cf3 (diff)
Initial commit of our new Car Mag theme, using DX Starter as a base theme
1 files changed, 17 insertions, 0 deletions
-rw-r--r--wp-content/themes/carmag/sidebar.php17
diff --git a/wp-content/themes/carmag/sidebar.php b/wp-content/themes/carmag/sidebar.php
new file mode 100644
index 0000000..c91846e
--- /dev/null
+++ b/wp-content/themes/carmag/sidebar.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * The sidebar containing the main widget area.
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
+ *
+ * @package DevriX_Starter
+ */
+
+if ( ! is_active_sidebar( 'sidebar-1' ) ) {
+ return;
+}
+?>
+
+<aside id="secondary" class="widget-area" role="complementary">
+ <?php dynamic_sidebar( 'sidebar-1' ); ?>
+</aside><!-- #secondary -->