WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp_tag_cloud ignores "exclude" parameter (2 posts)

  1. piginzen
    Member
    Posted 6 years ago #

    I'm running WordPress 2.3 and trying to create a tag cloud, everything is ok with the tags, but the function wp_tag_cloud seems to ignore the 'exclude' parameter.

    wp_tag_cloud("number=40&smallest=8&largest=30&exclude=230");

    230 is the tag_id from the wp_tags table. That is where I get the number from, right? But it's not working. I can change all other parameters except exclude.

    I am losing my mind on this one.

    Thanks for any insight.

  2. piginzen
    Member
    Posted 6 years ago #

    I figured it out. I had to pull it from the wp_terms table.

Topic Closed

This topic has been closed to new replies.

About this Topic