Protect the Children!
Protect the Children!
Description
Did you find this plugin helpful? Please consider leaving a 5-star review.
Please help by contributing to the GitHub repository Protect the Children on GitHub
Do you have a password protected post or page that has child (and grandchild) pages? Currently, you have to password protect each of these pages individually but, with this simple and efficient plugin, you can automatically password protect a page and all of it’s children automatically with the click of a button.
Once you choose the ‘Visibility’ option on a post and update it to ‘Password Protected’, you will be given a checkbox where you can opt into protecting all of that post’s children and grandchildren.
PROTECT THE CHILDREN!
Installation
- Upload the plugin files to the
/wp-content/plugins/protect-the-childrendirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- On any post or page, click ‘Edit’ next to Visibility, change the post to ‘Password Protected’ and an optional checkbox to turn on protection of that page’s children will appear.
Screenshots

WP 5.0+ Before changing to 'Password Protected'

WP 5.0+ Change to 'Password Protected'

WP 5.0+ Additional option now added

WP <5.0 Before changing to 'Password Protected'

WP <5.0 After changing to 'Password Protected' (note the checkbox directly above the Publish button)

WP <5.0 Admin screen for child post when being protected by parent

WP <5.0 Child posts displayed as protected by parent
Reviews
Genius! Works so well!
By bountydigital (bounty_digital) on October 10, 2023
Just wanted to say a quick thank you for developing such a simple, easy to use plugin. So many password plugins out there have their free + pro versions and still couldn't get what I wanted it to do.
Protect the Children works great! Gets rid of the hassle of typing in your password on every single page as it remembers it for all child pages. Thank you again!
Works as I had hoped!
By caveflyer on March 3, 2023
I tried a few other plugins... they were either overcomplicated (and more features than I needed), or they simply didn't work (i.e., did not protect the children). So, I'm very happy to have found this. It works with WP 6.1.1.
Logout?
By peter_lang on January 31, 2023
Nice working plugin but how to logout?
or set a time logout?
Logout button would be nice
So simple and effective
By scirceo on April 24, 2021
The plugin does not have a valid header.
By jmansfie42 on January 29, 2020
Awesome Plugin
By imbrady on December 12, 2019
Easy and Effcient
By Jaime Fernández Contreras (jaimon82) on November 28, 2019
Game Changer!
By jane202 on October 11, 2019
Pure and simple
By simonwimell on October 8, 2018
Clean and simple
By codefarma on August 5, 2018
Changelog
1.4.0
- Fixed issue with nested child pages
1.3.9
- Added full support for custom post types
- Fixed Gutenberg issues with protected meta fields
- Added public GitHub link to plugin description
1.3.5
- Fixed valid header warning when activating
1.3.4
- Code enhancements
1.3.3
- Bug fix when save_post hook is called during page save
1.3.2
- Minor Bug Fix
1.3.1
- Minor Bug Fix
1.3
- Add support for WordPress 5.0 i.e. Gutenberg Editor
1.2.3
- Bug fix for password protection input on child and grandchild posts
1.2.2
- Support for password protection of grandchildren/nested child posts
- Additional display on the post list screen to specify protected child posts
1.2.1
- Performance improvements
- Bug fix for parent post link
1.2
- Child post displays password protected status in admin when its parent is protecting children.
- Misc code cleanup
1.1
- All posts (parent and children) are now unlocked by entering the password on one of those protected pages.
1.0.1
- Tested and confirmed compatibility for PHP 7.2
- Tested and confirmed compatbility with WordPress 4.9.4
- Removed support for PHP versions lower than 5.6
1.0
- The initial public release!