3 * The Sidebar containing the main widget area
6 * @subpackage Twenty_Fourteen
7 * @since Twenty Fourteen 1.0
12 $description = get_bloginfo( 'description', 'display' );
13 if ( ! empty ( $description ) ) :
15 <h2 class="site-description"><?php echo esc_html( $description ); ?></h2>
18 <?php if ( has_nav_menu( 'secondary' ) ) : ?>
19 <nav role="navigation" class="navigation site-navigation secondary-navigation">
20 <?php wp_nav_menu( array( 'theme_location' => 'secondary' ) ); ?>
24 <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
25 <div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary">
26 <?php dynamic_sidebar( 'sidebar-1' ); ?>
27 </div><!-- #primary-sidebar -->
29 </div><!-- #secondary -->