Hide page for logged in Users
-
Hi guys,
I wanna do the following:
If a user is logged out, he can view the page id=10, if a user is logged in and view page id=10 he will be redirected to page id=5.I tried some codes in my theme’s header, but nothing worked. Is there any solution (theme modification in header.php or functions.php – I don’t want to use a plugin for this!) for this on?
Thank you,
Michael
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hide page for logged in Users’ is closed to new replies.