WordPress.org

Ready to get started?Download WordPress

Forums

Multi-column Tag Map
Excluding tags (5 posts)

  1. polle001
    Member
    Posted 1 year ago #

    I am not being able to exclude tags.

    If I use number for the ID of the tags I want to exclude, it does not work.
    If I use the tag itself, it does not work.

    This is what I am using with ID:
    [mctagmap columns="5" more="more »" hide="yes" num_show="2000" toggle="« less" show_empty="yes" name_divider="|" tag_count="yes" descriptions="yes" exclude="8,9,10,11" width="170" equal="yes"]

    This is what I am using with name:
    [mctagmap columns="5" more="more »" hide="yes" num_show="2000" toggle="« less" show_empty="yes" name_divider="|" tag_count="yes" descriptions="yes" exclude="tag-1,tag-2,tag-3,tag-4" width="170" equal="yes"]

    The names have a - because they are composed words, like "mountain-bike".

    As I have a lot of tags and I need 2 pages with 1000 tags in each, I am not able to make this work correctly.

    2 Questions.

    1- Why its not excluding ?
    2- Is there a way to bulk exclude ? Or I have to add from 1 to 1000 with comma separated to exclude those ?

    Thanks.

    http://wordpress.org/extend/plugins/multi-column-tag-map/

  2. tugbucket
    Member
    Plugin Author

    Posted 1 year ago #

    "exclude: A comma seperated, case sensitive list of the tags you do not wish to appear in the lists."

    The names have a - because they are composed words, like "mountain-bike".

    That is the slug. Have you used the tag name ie, Mountain Bike?

    As for 'bulk excluding' how would you propose this to work?

  3. polle001
    Member
    Posted 1 year ago #

    Writing the composed tag itself worked. ID and slug does not, but its ok.

    As for 'bulk excluding' how would you propose this to work?

    Well, I want to avoid making a 1000 word coma separated list. Maybe a query or something.

    Thanks.

  4. cowboybebop87
    Member
    Posted 1 year ago #

    This solution would help in some cases:

    Instead of manually excluding all the tags you don't want displayed, try including just the tags from a certain category by using the shortcode:

    from_category ="5"

    To find the category number, just go to your categories and mouse over the category name. The number will be displayed in the link that shows up at the bottom of your browser window.

    The result of this code is that only the tags on posts in that category are displayed. You'd only have to manually exclude any remaining tags in that one category that you didn't want displayed.

    Of course, if you have a large category with many tags, you might still have to exclude multiple tags, but surely it would be less than 1000...and if it came close, you might consider adding an additional sub-category to take care of that.

  5. mdidesign
    Member
    Posted 3 months ago #

    A better solution would be to exclude tags by ID. Anyhow possible?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.