How to hide click counter on internal anchor links in the same post?

(Tobias Eigen) #1

There’s probably not much can be done about this and it might not matter to anyone else, but I see it as a bug - it’s odd to me that when I create a table of contents for a long wiki post that it then shows the click count next to each link. This could get pretty crazy and doesn’t really bring anything.

As exemplified on a wiki page I created on my site:

Continuing the discussion from HTML anchors should be added:

(Mittineague) #2

TBH I can see how this might be useful to get a sense of what members are interested in, possibly indicating what could be improved.

In any case, have you looked into using CSS to display: none it?

(Tobias Eigen) #3

Thanks @Mittineague! I have not tried looking into CSS to display: none it - and am not sure how to do that to be honest. Is it possible to do that specifically for internal links? If so then that would solve my problem. Any guidance much appreciated.

(Dean Taylor) #4

A workaround for your specific case - because all your internal page links begin with “#” - would be something like this:

a[href^="#"] span.clicks { display: none; }

(Tobias Eigen) #5

thanks, dean! that works.

hmm… no solved button for bugs?

(Dave McClure) #6

Changed the category to support so you can mark it solved. updated the title because I kept reading “counter augments” as “counter arguments”.

(Tobias Eigen) #7

Heh. Thanks!

As my friend told me yesterday… “I’d agree with you, but then we’d both be wrong.”

(Tom Newsom) #8

Something along these lines is in the works

Continuing the discussion from Discourse Version 1.4:

(I am very much looking forward to this)