Changeset 21643 for trunk/wp-content/themes/twentytwelve/sidebar-home.php
- Timestamp:
- 08/28/2012 05:16:18 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/sidebar-home.php
r21620 r21643 16 16 * If none of the sidebars have widgets, then let's bail early. 17 17 */ 18 if ( ! is_active_sidebar( 2 ) && ! is_active_sidebar( 3) )18 if ( ! is_active_sidebar( 'sidebar-2' ) && ! is_active_sidebar( 'sidebar-3' ) ) 19 19 return; 20 20 … … 22 22 ?> 23 23 <div id="secondary" <?php twentytwelve_homepage_sidebar_class(); ?> role="complementary"> 24 <?php if ( is_active_sidebar( 2) ) : ?>24 <?php if ( is_active_sidebar( 'sidebar-2' ) ) : ?> 25 25 <div class="first home-widgets"> 26 <?php dynamic_sidebar( 2); ?>26 <?php dynamic_sidebar( 'sidebar-2' ); ?> 27 27 </div><!-- .first --> 28 28 <?php endif; ?> 29 29 30 <?php if ( is_active_sidebar( 3) ) : ?>30 <?php if ( is_active_sidebar( 'sidebar-3' ) ) : ?> 31 31 <div class="second home-widgets"> 32 <?php dynamic_sidebar( 3); ?>32 <?php dynamic_sidebar( 'sidebar-3' ); ?> 33 33 </div><!-- .second --> 34 34 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.