Hide Tags

By Timothy Foster Timothy 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

Fancy HR Dividers - 07 Apr 2021 06:23
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


Rate this solution

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

rating: +7
how about ...
Zatz Zatz 26 Feb 2013 18:51

hiding tags starting with a single letter or two

by Zatz Zatz , 26 Feb 2013 18:51
Re: how about ...
(account deleted) 26 Feb 2013 22:07

That's not possible with a CSS solution like this. You should add a wish for it on feedback.wikidot.com. There are a bunch of tag-related wishes, but none of them seem to ask for the kind of filtering you want to do.

Last edited on 26 Feb 2013 22:19 by (account deleted)
by (account deleted), 26 Feb 2013 22:07
page revision: 2, last edited: 14 Feb 2013 21:35
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).

AltStyle によって変換されたページ (->オリジナル) /