2013-07-29 00:55:10 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2013-10-12 00:02:11 +02:00
|
|
|
* The Sidebar containing the main widget area
|
2013-07-29 00:55:10 +02:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Fourteen
|
2013-10-12 00:02:11 +02:00
|
|
|
* @since Twenty Fourteen 1.0
|
2013-07-29 00:55:10 +02:00
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<div id="secondary">
|
2013-10-30 15:39:10 +01:00
|
|
|
<?php
|
2013-11-28 00:10:10 +01:00
|
|
|
$description = get_bloginfo( 'description', 'display' );
|
2017-12-01 00:11:00 +01:00
|
|
|
if ( ! empty( $description ) ) :
|
2018-08-17 03:51:36 +02:00
|
|
|
?>
|
2013-10-30 15:39:10 +01:00
|
|
|
<h2 class="site-description"><?php echo esc_html( $description ); ?></h2>
|
|
|
|
<?php endif; ?>
|
2013-07-29 00:55:10 +02:00
|
|
|
|
2013-10-30 15:39:10 +01: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-29 00:55:10 +02:00
|
|
|
|
2013-10-15 18:46:09 +02:00
|
|
|
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
|
|
|
|
<div id="primary-sidebar" class="primary-sidebar widget-area" role="complementary">
|
2013-11-15 22:20:09 +01:00
|
|
|
<?php dynamic_sidebar( 'sidebar-1' ); ?>
|
|
|
|
</div><!-- #primary-sidebar -->
|
2013-10-15 18:46:09 +02:00
|
|
|
<?php endif; ?>
|
2013-07-29 00:55:10 +02:00
|
|
|
</div><!-- #secondary -->
|