2013-07-29 00:55:10 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2013-08-15 05:13:44 +02:00
|
|
|
* The Sidebar containing the main widget area.
|
2013-07-29 00:55:10 +02:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Fourteen
|
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<div id="secondary">
|
|
|
|
<div id="secondary-top">
|
2013-08-15 05:13:29 +02:00
|
|
|
<?php
|
|
|
|
$description = get_bloginfo( 'description' );
|
|
|
|
if ( ! empty ( $description ) ) :
|
|
|
|
?>
|
2013-07-29 00:55:10 +02:00
|
|
|
<h2 class="site-description"><?php echo esc_html( $description ); ?></h2>
|
2013-08-15 05:13:29 +02:00
|
|
|
<?php endif; ?>
|
2013-07-29 00:55:10 +02:00
|
|
|
|
2013-08-15 05:13:29 +02:00
|
|
|
<?php if ( has_nav_menu( 'secondary' ) ) : ?>
|
|
|
|
<nav role="navigation" class="navigation secondary-navigation">
|
2013-07-29 00:55:10 +02:00
|
|
|
<?php wp_nav_menu( array( 'theme_location' => 'secondary' ) ); ?>
|
|
|
|
</nav>
|
2013-08-15 05:13:29 +02:00
|
|
|
<?php endif; ?>
|
2013-08-15 05:13:44 +02:00
|
|
|
</div><!-- #secondary-top -->
|
2013-07-29 00:55:10 +02:00
|
|
|
|
|
|
|
<div id="secondary-bottom" class="widget-area" role="complementary">
|
2013-08-15 05:13:29 +02:00
|
|
|
<?php
|
|
|
|
do_action( 'before_sidebar' );
|
|
|
|
dynamic_sidebar( 'sidebar-1' );
|
|
|
|
?>
|
2013-08-15 05:13:44 +02:00
|
|
|
</div><!-- #secondary-bottom -->
|
2013-07-29 00:55:10 +02:00
|
|
|
</div><!-- #secondary -->
|