Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Is it possible to have the "password protected page" feature of WordPress apply to more than one page? I have dozens of pages which I wish to protect with the same password, but I don't want people to keep having to type the password every time they open a new page. I also don't want people to require an account, all they should need is one password!

share|improve this question
1  
I guess you could use a combination of cookies and transients. So far not sure if this is really a WP question... Interesting tough. +1 –  kaiser Feb 17 '12 at 9:57

1 Answer 1

up vote 3 down vote accepted

WordPress FTW! It actually works this way out of the box. If you use the same password on multiple pages, it only has to be entered once.

share|improve this answer
1  
is that a documented feature? –  ninesided Feb 20 '12 at 22:54
1  
Great question; I have no idea. A while back I was going to do the same thing and just tested it, figuring "hey, maybe..." and I was pleasantly surprised, so it just so happened to be documented in my head. A cursory Google search reveals nothing. I'm adding it here now, as that seems as good a place as any! –  Matthew Boynes Feb 20 '12 at 23:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.