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!
- 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.
Contributors and Developers
“Protect the Children!” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Fixed issue with nested child pages
- Added full support for custom post types
- Fixed Gutenberg issues with protected meta fields
- Added public GitHub link to plugin description
- Fixed valid header warning when activating
- Code enhancements
- Bug fix when save_post hook is called during page save
- Minor Bug Fix
- Minor Bug Fix
- Add support for WordPress 5.0 i.e. Gutenberg Editor
- Bug fix for password protection input on child and grandchild posts
- Support for password protection of grandchildren/nested child posts
- Additional display on the post list screen to specify protected child posts
- Performance improvements
- Bug fix for parent post link
- Child post displays password protected status in admin when its parent is protecting children.
- Misc code cleanup
- All posts (parent and children) are now unlocked by entering the password on one of those protected pages.
- 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
- The initial public release!