How to password protect certain page(s)?
-
I am making a site and I need a page (not the homepage) to be limited to only those who have a password.
This page will have a private blog on it and it’s the only page that has posts.
How can I do this? I found one solutions that adds is_loggedin to the top of the page and wp_die at the bottom. But this takes the logged out user to a page that says “Sorry, you must be logged in or register …” then it goes to the main WordPress login page.
Is there a more user friendly solution for this? I also tried “password protect this page” in the attributes but that isn’t working at all.
I’m using WP 3.0.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to password protect certain page(s)?’ is closed to new replies.