🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
F

FT Password Protect Children Pages

4/5 (4 ratings) 400 active installs Updated Sep 22, 2010

This plugin does one thing. If a page that is password protected has children pages, all children pages will be protected with the same password.

If the correct password is entered on the parent page or any of its children pages, all related pages will be viewable to the user.

The plugin protects unlimited levels of grandchildren pages via the $post->ancestors. It uses first ancestor that is password protected.

Additional Information

The plugin currently works by looking for parent pages that are password protected and applying the same restrictions the the currently being viewed child page. This means that the children pages do not actually get a password added to the database.

I’m trying to decide if this is the best way to proceeed or if I should take another route (such as adding / updating / removing passwords from children pages at the write or save post screen).

Please feel free to offer any suggestions or report any bugs here: [http://fullthrottledevelopment.com/password-protect-children-pages/]

Thanks!