All that documentation, and apparently no one wants to read it…
See the info there on the ‘number’ parameter.
Thanks but I can’t find the theme file to edit, I’m using the default “Kubrick” theme.
What you don’t mention is whether you are using widgets or not in your sidebar.
If yes, I’m not sure what to recommend beyond editing the core WordPress file wp-includes/widgets.php to modify how wp_tag_cloud() is called in there (in the function wp_widget_tag_cloud()). *If* you choose to do this, make a back-up copy of widgets.php in case things go awry.
If no, I don’t believe the tag cloud is originally in the default theme. But it would most likely be in the Sidebar (sidebar.php) template, if someone has added it.
Thanks for answering.
Yes, the Tag Cloud is a sidebar widget. I have found wp_tag_cloud() but haven’t seen anything I can modify, all it seems to do is is call the function but there are no arguments.
I solved the problem by using another configurable plugin.
“I have found wp_tag_cloud() but haven’t seen anything I can modify, all it seems to do is is call the function but there are no arguments.“
You would have to add them, since the built-in widget goes along with the defaults.
“I solved the problem by using another configurable plugin.“
Great! Plugins often come to the rescue. At least, they’re better than editing the WordPress core files…
- The topic ‘How many tags in the tag cloud?’ is closed to new replies.