3 * The Sidebar containing the main widget area.
6 * @subpackage Twenty_Eleven
7 * @since Twenty Eleven 1.0
10 $options = twentyeleven_get_theme_options();
11 $current_layout = $options['theme_layout'];
13 if ( 'content' != $current_layout ) :
15 <div id="secondary" class="widget-area" role="complementary">
16 <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?>
18 <aside id="archives" class="widget">
19 <h3 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h3>
21 <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?>
25 <aside id="meta" class="widget">
26 <h3 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h3>
28 <?php wp_register(); ?>
29 <li><?php wp_loginout(); ?></li>
34 <?php endif; // end sidebar widget area ?>
35 </div><!-- #secondary .widget-area -->