Tag Cloud is one of the best widgets available in Wordpres at times we use it as a Widget at times its part of the theme but the size of tags goes on increasing as we add posts under the tag which at times doesnot look nice we can control the behaviour of this Tag Cloud, if you have installed this as a Widget then edit wp-includes/widget.php file find the following section in it
function wp_widget_tag_cloud($args) {
extract($args);
$options = get_option('widget_tag_cloud');
$title = empty($options['title']) ? __('Tags') : apply_filters('widget_title', $options['title']);
echo $before_widget;
echo $before_title . $title . $after_title;
//wp_tag_cloud();
wp_tag_cloud('smallest=8&largest=18');
(
add the above line and define the size of smallest and largest tag)
echo $after_widget;
}
the line shown controls the behaviour of tag Cloud. If you are not using Tag Cloud as a Widget u will find the
wp_tag_cloud() in sidebar.php file.
[ad#460]
Recent comments
4 weeks 5 days ago
13 weeks 1 day ago
14 weeks 1 day ago
21 weeks 22 hours ago
27 weeks 6 days ago
37 weeks 5 days ago
1 year 1 week ago
1 year 2 weeks ago
1 year 5 weeks ago
1 year 5 weeks ago