The tag cloud has stopped listing new tags I'm adding. It's got about 45 tags in it, but I keep adding more in my posts. Is there a limit set somewhere? can I change it?
The tag cloud has stopped listing new tags I'm adding. It's got about 45 tags in it, but I keep adding more in my posts. Is there a limit set somewhere? can I change it?
45 is about the default limit; you can change it by adding a few lines of code into functions.php of your theme:
add_filter('widget_tag_cloud_args','set_number_tags');
function set_number_tags($args) {
$args = array('number' => 100, 'largest' => 25);
return $args;
}
you only need to use:
$args = array('number' => 100);
the example is to show how to add multiple arguments;
for a full list of args, see: http://codex.wordpress.org/Function_Reference/wp_tag_cloud
You must log in to post.