2013-02-18 18:08:56 -05:00
|
|
|
<?php
|
|
|
|
/**
|
2013-09-20 15:34:10 -04:00
|
|
|
* The sidebar containing the secondary widget area
|
2013-02-18 18:08:56 -05:00
|
|
|
*
|
2013-09-20 15:34:10 -04:00
|
|
|
* Displays on posts and pages.
|
|
|
|
*
|
|
|
|
* If no active widgets are in this sidebar, hide it completely.
|
2013-02-18 18:08:56 -05:00
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Twenty_Thirteen
|
|
|
|
* @since Twenty Thirteen 1.0
|
|
|
|
*/
|
|
|
|
|
2013-02-28 16:35:26 -05:00
|
|
|
if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
|
|
|
|
<div id="tertiary" class="sidebar-container" role="complementary">
|
2013-02-18 18:08:56 -05:00
|
|
|
<div class="sidebar-inner">
|
|
|
|
<div class="widget-area">
|
2013-02-28 16:35:26 -05:00
|
|
|
<?php dynamic_sidebar( 'sidebar-2' ); ?>
|
2013-03-19 15:25:56 -04:00
|
|
|
</div><!-- .widget-area -->
|
|
|
|
</div><!-- .sidebar-inner -->
|
2013-02-28 16:35:26 -05:00
|
|
|
</div><!-- #tertiary -->
|
2013-02-18 18:08:56 -05:00
|
|
|
<?php endif; ?>
|