Simple plugin for changing font sizes in the WordPress tag cloud.
resize-tag-cloud.php
<?php
/*
Plugin Name: Resize tag cloud
Plugin URI: http://poller.se/2010/02/resize-tag-cloud-in-wordpress/
Version: 0.1
Author: Fredrik Poller
Author URI: http://poller.se/
Description: Resizes tag cloud font sizes
*/
function resize_tag_cloud_filter($args = array()) {
// Do changes on the lines below
$args['smallest'] = 8;
$args['largest'] = 18;
$args['unit'] = 'pt';
return $args;
}
add_filter('widget_tag_cloud_args', 'resize_tag_cloud_filter', 20);
?>
No config from the admin panel, do changes in the script.
Put file in the wp-content/plugins/ directory of your WordPress installation and active from the admin panel.
