diff options
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.php | 17 |
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 --> |
