How to restrict access to certain 'parts' of a page?
-
Hi,
I would like to make certain parts of a page only accessible to registered users.
Each post comes with contact information of the author (e-mail etc.). While the actual post should be accessible to everyone, only registered users should be able to read the contact information. If you are not logged in, a grey box (or so) should appear, where usually the contact information are showed, saying ‘you need to be logged in to view this part’.
Aynone an idea how to achieve that? Is there a plugin or should I do it with an if statement? The contact information of the author are inserted via a custom field.
Thanks,
do77
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to restrict access to certain 'parts' of a page?’ is closed to new replies.