Created
May 14, 2015 17:19
-
-
Save generatepress/0e9722eb49ddad91ee5d to your computer and use it in GitHub Desktop.
Change the default tag cloud font sizes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'widget_tag_cloud_args', 'generate_widget_tag_cloud_args' ); | |
function generate_widget_tag_cloud_args( $args ) { | |
$args['number'] = 20; | |
$args['largest'] = 18; | |
$args['smallest'] = 9; | |
$args['unit'] = 'px'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment