Hide Tags

By Timothy FosterTimothy Foster

Description

The Tag Cloud module does not allow for the hiding of specific tags. This CSI allows you to specify which tag names you want hidden up to 99.

The CSI works with the 2D tagcloud only.

Syntax

Attribute Required? Default Description
target No system:page-tags The target value of the TagCloud module
category No none The category value of the TagCloud module
tag# No none A tag you want hidden. You do not need all 99.

Code

[[include :snippets:hide-tags
|target=
|category=
|tag1=
|tag2=
|tag3=

|tag99=
]]

Note: You do not need to explicitly define all 99 tag options; only list the ones you need.

If you need additional tag slots, simply place a second copy of this CSI on the same page with the additional tags, starting at 1.

In action


Thanks to tsangk for this great snippet: conditional-blocks


text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]



Other snippets posted by Timothy Foster

Carousel - 24 May 2015 01:18
Modal Image - 01 May 2015 17:20
Bootstrap Image Box - 19 Jul 2014 01:27
Togglecheck - 17 Dec 2013 20:27
Alternative Specific Users Only - 11 Dec 2013 18:04
Image Box - 10 Dec 2013 03:14
Toggle Tag - 19 Jul 2013 11:13
Plurality Checker - 16 Jul 2012 03:21
Mini Chat Area - 15 May 2012 12:04
Table Alterations - 16 Feb 2012 01:45
Fancy <hr> Dividers - 15 Feb 2012 00:51


Rate this solution

If you think this solution is useful — rate it up!

rating: +6+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License