Wordpress 3.6
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / sidebar.php
1 <?php
2 /**
3  * The sidebar containing the secondary widget area, displays on posts and pages.
4  *
5  * If no active widgets in this sidebar, it will be hidden completely.
6  *
7  * @package WordPress
8  * @subpackage Twenty_Thirteen
9  * @since Twenty Thirteen 1.0
10  */
11
12 if ( is_active_sidebar( 'sidebar-2' ) ) : ?>
13         <div id="tertiary" class="sidebar-container" role="complementary">
14                 <div class="sidebar-inner">
15                         <div class="widget-area">
16                                 <?php dynamic_sidebar( 'sidebar-2' ); ?>
17                         </div><!-- .widget-area -->
18                 </div><!-- .sidebar-inner -->
19         </div><!-- #tertiary -->
20 <?php endif; ?>