When your website means business.

WP/CP | Type: PHPAdjust widget tag cloud font size range

Sometimes the tag cloud sizes are too extreme. This fixes that.

add_filter( 'widget_tag_cloud_args', 'smack_widget_tag_cloud_args' );
function smack_widget_tag_cloud_args( $args ) {
$args['largest'] = 170;
$args['smallest'] = 90;
$args['unit'] = '%';
return $args;

Reference Links

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept