Changeset 41756 for trunk/src/wp-content/themes/twentysixteen/functions.php
- Timestamp:
- 10/04/2017 11:52:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentysixteen/functions.php
r41580 r41756 416 416 417 417 /** 418 * Modifies tag cloud widget arguments to have all tags in the widget same font size. 418 * Modifies tag cloud widget arguments to display all tags in the same font size 419 * and use list format for better accessibility. 419 420 * 420 421 * @since Twenty Sixteen 1.1 421 422 * 422 423 * @param array $args Arguments for tag cloud widget. 423 * @return array A new modified arguments.424 * @return array The filtered arguments for tag cloud widget. 424 425 */ 425 426 function twentysixteen_widget_tag_cloud_args( $args ) { 426 $args['largest'] = 1;427 $args['largest'] = 1; 427 428 $args['smallest'] = 1; 428 $args['unit'] = 'em'; 429 $args['unit'] = 'em'; 430 $args['format'] = 'list'; 431 429 432 return $args; 430 433 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)