Changeset 21643 for trunk/wp-content/themes/twentytwelve/functions.php
- Timestamp:
- 08/28/2012 05:16:18 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/functions.php
r21642 r21643 212 212 $classes = array( 'widget-area' ); 213 213 214 if ( is_active_sidebar( 2 ) && is_active_sidebar( 3) )214 if ( is_active_sidebar( 'sidebar-2' ) && is_active_sidebar( 'sidebar-3' ) ) 215 215 $classes[] = 'two'; 216 216 … … 363 363 $background_color = get_background_color(); 364 364 365 if ( ! is_active_sidebar( 1) || is_page_template( 'page-templates/full-width.php' ) )365 if ( ! is_active_sidebar( 'sidebar-1' ) || is_page_template( 'page-templates/full-width.php' ) ) 366 366 $classes[] = 'full-width'; 367 367 … … 388 388 */ 389 389 function twentytwelve_content_width() { 390 if ( is_page_template( 'page-templates/full-width.php' ) || is_attachment() || ! is_active_sidebar( 1) ) {390 if ( is_page_template( 'page-templates/full-width.php' ) || is_attachment() || ! is_active_sidebar( 'sidebar-1' ) ) { 391 391 global $content_width; 392 392 $content_width = 960;
Note: See TracChangeset
for help on using the changeset viewer.