WordPress 4.7
[autoinstalls/wordpress.git] / wp-content / themes / twentyseventeen / sidebar.php
1 <?php
2 /**
3  * The sidebar containing the main widget area
4  *
5  * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
6  *
7  * @package WordPress
8  * @subpackage Twenty_Seventeen
9  * @since 1.0
10  * @version 1.0
11  */
12
13 if ( ! is_active_sidebar( 'sidebar-1' ) ) {
14         return;
15 }
16 ?>
17
18 <aside id="secondary" class="widget-area" role="complementary">
19         <?php dynamic_sidebar( 'sidebar-1' ); ?>
20 </aside><!-- #secondary -->