URLs display only for registered


(Pan Otlet) #1

Hi!

I have a question. I want to make hidden url’s in post for only non-registered users (or lvl0).
Someone have idea? I can’t find plugins and i think to make my own, but first i want to check existing this plugin


(Régis Hanol) #2

This should hide links for non-registered users

.anon .cooked a { display: none; }

(Christoph) #3

This only hides the links from view, right? So anon users can still access those URLs if they know how to do it?


(Pan Otlet) #4

Something like: Login to see links (or something like that).


(Régis Hanol) #5

@tophee yup.

@otlet that would indeed require a plugin and I don’t know any that does that.


(Mittineague) #6

previous discussion


(Sam Saffron) #7

Can be achieved in a theme component similar to how Linkify words in post, theme component works, its actually a lot simpler cause HTML nodes are simply being removed here.