Changeset 19915 for trunk/wp-content/themes/twentytwelve/sidebar.php
- Timestamp:
- 02/14/2012 03:54:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/sidebar.php
r19842 r19915 2 2 /** 3 3 * The Sidebar containing the main widget area. 4 * 5 * If no active widgets in sidebar, hide it completely. 4 6 * 5 7 * @package WordPress … … 8 10 */ 9 11 ?> 12 13 <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?> 10 14 <div id="secondary" class="widget-area" role="complementary"> 11 <?php if ( ! dynamic_sidebar( 'sidebar-1' ) ) : ?> 12 13 <aside id="archives" class="widget"> 14 <h3 class="widget-title"><?php _e( 'Archives', 'twentytwelve' ); ?></h3> 15 <ul> 16 <?php wp_get_archives( array( 'type' => 'monthly' ) ); ?> 17 </ul> 18 </aside> 19 20 <aside id="meta" class="widget"> 21 <h3 class="widget-title"><?php _e( 'Meta', 'twentytwelve' ); ?></h3> 22 <ul> 23 <?php wp_register(); ?> 24 <li><?php wp_loginout(); ?></li> 25 <?php wp_meta(); ?> 26 </ul> 27 </aside> 28 29 <?php endif; // end sidebar widget area ?> 15 <?php dynamic_sidebar( 'sidebar-1' ); ?> 30 16 </div><!-- #secondary .widget-area --> 17 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.