Changeset 41756 for trunk/src/wp-content/themes/twentyfifteen/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/twentyfifteen/functions.php
r38870 r41756 387 387 388 388 /** 389 * Modifies tag cloud widget arguments to display all tags in the same font size 390 * and use list format for better accessibility. 391 * 392 * @since Twenty Fifteen 1.9 393 * 394 * @param array $args Arguments for tag cloud widget. 395 * @return array The filtered arguments for tag cloud widget. 396 */ 397 function twentyfifteen_widget_tag_cloud_args( $args ) { 398 $args['largest'] = 22; 399 $args['smallest'] = 8; 400 $args['unit'] = 'pt'; 401 $args['format'] = 'list'; 402 403 return $args; 404 } 405 add_filter( 'widget_tag_cloud_args', 'twentyfifteen_widget_tag_cloud_args' ); 406 407 408 /** 389 409 * Implement the Custom Header feature. 390 410 *
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)