2013-07-28 18:55:10 -04:00
|
|
|
<?php
|
|
|
|
/**
|
2013-10-11 18:02:11 -04:00
|
|
|
* The Sidebar containing the main widget area
|
2013-07-28 18:55:10 -04:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Fourteen
|
2013-10-11 18:02:11 -04:00
|
|
|
* @since Twenty Fourteen 1.0
|
2013-07-28 18:55:10 -04:00
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<div id="secondary">
|
2013-10-30 10:39:10 -04:00
|
|
|
<?php
|
2013-11-27 18:10:10 -05:00
|
|
|
$description = get_bloginfo( 'description', 'display' );
|
2013-10-30 10:39:10 -04:00
|
|
|
if ( ! empty ( $description ) ) :
|
|
|
|
?>
|
|
|
|
<h2 class="site-description"><?php echo esc_html( $description ); ?></h2>
|
|
|
|
<?php endif; ?>
|
2013-07-28 18:55:10 -04:00
|
|
|
|
2013-10-30 10:39:10 -04:00
|
|
|
<?php if ( has_nav_menu( 'secondary' ) ) : ?>
|
|
|
|
<nav role="navigation" class="navigation site-navigation secondary-navigation">
|
|
|
|
<?php wp_nav_menu( array( 'theme_location' => 'secondary' ) ); ?>
|
|
|
|
</nav>
|
|
|
|
<?php endif; ?>
|
2013-07-28 18:55:10 -04:00
|
|
|
|
2013-10-15 12:46:09 -04:00
|
|
|
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
|
|
|
<div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary">
|
2013-11-15 16:20:09 -05:00
|
|
|
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
|
|
|
</div><!-- #primary-sidebar -->
|
2013-10-15 12:46:09 -04:00
|
|
|
<?php endif; ?>
|
2013-07-28 18:55:10 -04:00
|
|
|
</div><!-- #secondary -->
|