WordPress.org

Forums

How many tags in the tag cloud? (7 posts)

  1. raygene
    Member
    Posted 7 years ago #

    As the title says, how many tags the default tag cloud holds? Is it configurable?

    Thanks,
    Gene

  2. Kafkaesqui

    Posted 7 years ago #

    All that documentation, and apparently no one wants to read it...

    http://codex.wordpress.org/Template_Tags/wp_tag_cloud

    See the info there on the 'number' parameter.

  3. raygene
    Member
    Posted 7 years ago #

    Thanks but I can't find the theme file to edit, I'm using the default "Kubrick" theme.

    Gene

  4. Kafkaesqui

    Posted 7 years ago #

    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.

  5. raygene
    Member
    Posted 7 years ago #

    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.

    Thanks again,
    Gene

  6. Kafkaesqui

    Posted 7 years ago #

    "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...

  7. raygene
    Member
    Posted 7 years ago #

    Great! Plugins often come to the rescue. At least, they're better than editing the WordPress core files...

    How right you are. :)

    Cheers,
    Gene

Topic Closed

This topic has been closed to new replies.

About this Topic