[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Sidebar containing the main widget area 4 * 5 * @package WordPress 6 * @subpackage Twenty_Eleven 7 * @since Twenty Eleven 1.0 8 */ 9 10 $options = twentyeleven_get_theme_options(); 11 $current_layout = $options['theme_layout']; 12 13 if ( 'content' !== $current_layout ) : 14 ?> 15 <div id="secondary" class="widget-area" role="complementary"> 16 <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?> 17 18 <aside id="archives" class="widget"> 19 <h3 class="widget-title"><?php _e( 'Archives', 'twentyeleven' ); ?></h3> 20 <ul> 21 <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?> 22 </ul> 23 </aside> 24 25 <aside id="meta" class="widget"> 26 <h3 class="widget-title"><?php _e( 'Meta', 'twentyeleven' ); ?></h3> 27 <ul> 28 <?php wp_register(); ?> 29 <li><?php wp_loginout(); ?></li> 30 <?php wp_meta(); ?> 31 </ul> 32 </aside> 33 34 <?php endif; // End sidebar widget area. ?> 35 </div><!-- #secondary .widget-area --> 36 <?php endif; ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |