Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change the default tag cloud font sizes
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