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

  1. jesusbet
    Posted 8 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.


    I tried with some others tags but nothing works. Allways showing all the tags (or the 15 tags as indicated by the number param)...

  2. MichaelH
    Posted 8 years ago #

    So 512-links is the name of the tag you want excluded?

  3. MichaelH
    Posted 8 years ago #

    Yeah, I can't get the include or exclude parameter to work.

  4. MichaelH
    Posted 8 years ago #

  5. The include and exclude parameters should only take ID numbers of the entries in the taxonomy table (comma separated), not slugs or names or anything else. Looking through the code, it should work fine, as far as I can tell.

    And am I the only person whom trac is not working for anymore? It sits there and never loads.

  6. MichaelH
    Posted 8 years ago #

    Okay, set that ticket to invalid in Trac and will update Codex Template_Tags/wp_tag_cloud.

    Thanks Otto. Trac is working for me ;)

  7. Well what the hell? I can't get trac to work at all. It just eventually gives me "Operation timed out". This sucks! :(

  8. jesusbet
    Posted 8 years ago #

    thanks... problem solved

  9. piginzen
    Posted 7 years ago #

    I am having the same problem:


    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.

Topic Closed

This topic has been closed to new replies.

About this Topic