diff options
Diffstat (limited to 'dist/sidebar.php')
| -rw-r--r-- | dist/sidebar.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dist/sidebar.php b/dist/sidebar.php new file mode 100644 index 0000000..b0537c6 --- /dev/null +++ b/dist/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 --> |
