Last active
October 12, 2017 17:48
-
-
Save ellenbo/421d59e13c3227fe8370 to your computer and use it in GitHub Desktop.
Set tag cloud font size in WP
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
/* Set tag cloud font size | |
----------------------------------------------------------------*/ | |
add_filter('widget_tag_cloud_args','set_tag_cloud_sizes'); | |
function set_tag_cloud_sizes($args) { | |
$args['smallest'] = SMALLEST FONT SIZE; | |
$args['largest'] = LARGEST FONT SIZE; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment