Keep hidden tags really hidden in tags area

Posted by Helmut_pdorf on 22 Feb 2015 09:54, last edited by Helmut_pdorf on 22 Feb 2015 09:59

Tags: css hidden_tags hide tags

rating: +1+x

There was such question in the Community Forum: http://community.wikidot.com/forum/t-1119074
and I think it is a good idea to copy the work around and the (old) wish into a howto:

Hi Wikidot community,

Is it possible to hide hidden tags from viewers? It's a cool feature and I've found it useful to my site, but it's a bit annoying to see all those underscored tags in the tag area. I want to keep all other tags, just wish hidden tags to really stay hidden.

And the answer came from Ed with a cool idea from Timothy:

Check out Wish:908 on the Feedback site and vote it up. While not implemented, Timothy Foster posted a clever CSS solution that targets "_hidden" tags:

.page-tags a[href^='/system:page-tags/tag/_'] {
  display: none;
}

This works really!

Thanks for the idea!

Notice: this is not working for normal tags!


Related articles

Comments

Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.