donnamcmaster
4/6/2017 - 9:59 PM

WordPress: reduce the font sizes in the tag cloud

WordPress: reduce the font sizes in the tag cloud

<?php
/**
 * Reduce the font sizes in the WordPress tag cloud
 */
add_filter( 'widget_tag_cloud_args', function( $args ) {
 	$args['smallest'] = 11;
	$args['largest'] = 24;
	$args['unit'] = 'px';
	return $args;
});