Changeset 41756 for trunk/src/wp-content/themes/twentytwelve/functions.php
- Timestamp:
- 10/04/2017 11:52:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwelve/functions.php
r38870 r41756 560 560 } 561 561 add_action( 'customize_preview_init', 'twentytwelve_customize_preview_js' ); 562 563 564 /** 565 * Modifies tag cloud widget arguments to display all tags in the same font size 566 * and use list format for better accessibility. 567 * 568 * @since Twenty Twelve 2.4 569 * 570 * @param array $args Arguments for tag cloud widget. 571 * @return array The filtered arguments for tag cloud widget. 572 */ 573 function twentytwelve_widget_tag_cloud_args( $args ) { 574 $args['largest'] = 22; 575 $args['smallest'] = 8; 576 $args['unit'] = 'pt'; 577 $args['format'] = 'list'; 578 579 return $args; 580 } 581 add_filter( 'widget_tag_cloud_args', 'twentytwelve_widget_tag_cloud_args' );
Note: See TracChangeset
for help on using the changeset viewer.