Created
June 22, 2014 17:38
-
-
Save wpmark/06c3402bd55e6288b9ea to your computer and use it in GitHub Desktop.
Filter the Output of WordPress Tag Cloud Widget
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
<?php | |
function wpmark_widget_tag_cloud_args( $args ) { | |
$args[ 'smallest' ] = '1.5'; | |
$args[ 'largest' ] = '1.5'; | |
$args[ 'unit' ] = 'em'; | |
return $args; | |
} | |
add_filter( 'widget_tag_cloud_args', 'wpmark_widget_tag_cloud_args' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment