• Is there a way to show only some selected tags? There is an exclude option but then I will have to exclude hundreds of them. I need to show only some 30-40 tags and exclude all others. Any other simpler way to do this?

Viewing 1 replies (of 1 total)
  • Plugin Author tugbucket

    (@tugbucket)

    Unfortunately not really. You can make a minor hack that “should” accomplish this but I can’t say for 100% certainty it will fit your needs.

    First you need to make sure and read the part starting with “If you wish to make PHP changes” from https://ww.wp.xz.cn/plugins/multi-column-tag-map/#installation

    Then, about line 490 in mctagmap_functions.php find and change:
    $tag->$arraypart = $tagParts[1].', '.$tagParts[0];
    to
    $tag->$arraypart = $tagParts[0].' '.$tagParts[1];

    What this will do is null the name_divider option, meaning it will still replace your name divider character but, it will not reverse them and add the comma. Doing this will alow you to modify any tage you want to show in your admin to like: My Tag| then you can add the option exclude=”*!|” and it should only show the tags using the vertical pipe (|).

    Not pretty but it seems to work on my local development instance.

Viewing 1 replies (of 1 total)

The topic ‘Show Selected tags’ is closed to new replies.