Changeset 24390
- Timestamp:
- 05/31/2013 05:23:48 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/functions.php
r24351 r24390 462 462 * 463 463 * Adds body classes to denote: 464 * 1. Custom fonts enabled. 465 * 2. Single or multiple authors. 466 * 3. Active widgets in the sidebar to change the layout and spacing. 467 * 4. When avatars are disabled in discussion settings. 464 * 1. Single or multiple authors. 465 * 2. Active widgets in the sidebar to change the layout and spacing. 466 * 3. When avatars are disabled in discussion settings. 468 467 * 469 468 * @since Twenty Thirteen 1.0 … … 473 472 */ 474 473 function twentythirteen_body_class( $classes ) { 475 476 // Enable custom font class only if the font CSS is queued to load.477 if ( wp_style_is( 'twentythirteen-fonts', 'enqueued' ) )478 $classes[] = 'custom-font';479 480 474 if ( ! is_multi_author() ) 481 475 $classes[] = 'single-author';
Note: See TracChangeset
for help on using the changeset viewer.