Created
May 3, 2020 18:47
-
-
Save vfontjr/e75fb543c0b426a89c73bfeebf6e0a4c to your computer and use it in GitHub Desktop.
Source code for https://victorfont.com/wordpress-tag-cloud-font-size/
This file contains hidden or 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
<?php | |
add_filter('widget_tag_cloud_args','set_tag_cloud_font_size'); | |
function set_tag_cloud_font_size($args) { | |
$args['smallest'] = 12; /* Set the smallest size to 12px */ | |
$args['largest'] = 19; /* set the largest size to 19px */ | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment