Changeset 21398 for trunk/wp-content/themes/twentytwelve/functions.php
- Timestamp:
- 08/01/2012 06:52:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/functions.php
r21395 r21398 116 116 wp_enqueue_style( 'twentytwelve-fonts', "$protocol://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" ); 117 117 } 118 118 119 119 /** 120 120 * Load our main CSS file. … … 339 339 * 1. Using a full-width layout, when no active widgets in the sidebar 340 340 * or full-width template. 341 * 2. White or empty background color to change the layout and spacing. 341 * 2. A thumbnail in the Homepage page template. 342 * 3. White or empty background color to change the layout and spacing. 342 343 * 343 344 * @since Twenty Twelve 1.0 … … 348 349 if ( ! is_active_sidebar( 'sidebar-1' ) || is_page_template( 'full-width-page.php' ) ) 349 350 $classes[] = 'full-width'; 351 352 if ( is_page_template( 'homepage.php' ) && has_post_thumbnail() ) 353 $classes[] = 'has-post-thumbnail'; 350 354 351 355 if ( empty( $background_color ) )
Note: See TracChangeset
for help on using the changeset viewer.