How to hide tags on protected posts until password is entered?
-
I noticed that if I add tags to a password protected post, those tags are publicly visible on that post’s page, even if they can’t see the content of the post (due to not knowing the password).
Is there any way to hide a post’s associated tags unless/until a user enters its password? Otherwise the password protection effectiveness seems partially undermined.
The blog I need help with is: (visible only to logged in users)
-
Hey there,
You can use CSS to hide the tags, but I wasn’t sure if you wanted them hidden even when the site is publicly viewable. For more information on CSS, please visit our support page:
http://en.support.wordpress.com/custom-design/editing-css/
Thanks!
-
Just want to hide them while the content is hidden; once user enters password, tags should become visible too. Is this possible with CSS?
-
Hey there,
This snippet will hide tags while post is in password protected view:
.post-password-required .post-tags { display: none; }You’ll need to purchase the premium plan in order to have access and add CSS to your site. Let me know if you have any questions.
Thanks!
- The topic ‘How to hide tags on protected posts until password is entered?’ is closed to new replies.