Skip to content
Sign in

Protect the Children!

Easily password protect the child pages/posts of a post/page that is password protected.

Not scanned yet WordPress plugin 1k installs

Install in

No install steps yet

Follow the steps on the source page.

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!

If this plugin helps you, you can support its development at https://www.buymeacoffee.com/yOd1JU9MQe?utm_source=wordpress.org&utm_medium=plugin-readme&utm_campaign=protect-the-children&utm_content=description

Localizations

This plugin is available in the following languages:

  • Albanian (Shqip)
  • Arabic (العربية)
  • Armenian (Հայերեն)
  • Basque (Euskara)
  • Bengali (বাংলা)
  • Bulgarian (Български)
  • Catalan (Català)
  • Chinese Simplified (简体中文)
  • Croatian (Hrvatski)
  • Czech (Čeština)
  • Danish (Dansk)
  • Dutch (Nederlands)
  • Estonian (Eesti)
  • Finnish (Suomi)
  • French (Français)
  • Galician (Galego)
  • Georgian (ქართული)
  • German (Deutsch)
  • Greek (Ελληνικά)
  • Hebrew (עברית)
  • Hindi (हिन्दी)
  • Hungarian (Magyar)
  • Indonesian (Bahasa Indonesia)
  • Irish (Gaeilge)
  • Italian (Italiano)
  • Japanese (日本語)
  • Korean (한국어)
  • Latvian (Latviešu)
  • Lithuanian (Lietuvių)
  • Macedonian (Македонски)
  • Norwegian (Norsk)
  • Persian (فارسی)
  • Persian – Afghanistan (دری)
  • Polish (Polski)
  • Portuguese – Brazil (Português do Brasil)
  • Portuguese – Portugal (Português)
  • Romanian (Română)
  • Russian (Русский)
  • Serbian (Српски)
  • Slovak (Slovenčina)
  • Slovenian (Slovenščina)
  • Spanish (Español)
  • Swedish (Svenska)
  • Tamil (தமிழ்)
  • Thai (ไทย)
  • Turkish (Türkçe)
  • Ukrainian (Українська)
  • Urdu (اردو)
  • Vietnamese (Tiếng Việt)
  • Welsh (Cymraeg)

Written by Joobi from the project's own listing. See the source page

child pagesParent PagespasswordPassword Protectvisibility
21 Nov 2026
Version 1.5.4 released. Not scanned yet.

1.5.4

  • Hardened request handling with nonce and capability checks, input sanitization, prepared SQL, and output escaping
  • Removed the “Tested up to” field from the plugin file header so it appears only in readme.txt, as required by Plugin Check
  • Added a donate link for supporting plugin development

1.5.3

  • Fixed: saving a parent page from Elementor, or from any other save path that doesn’t submit the plugin’s own checkbox (such as another plugin calling wp_update_post()), no longer turns off “Password Protect all children”
  • Fixed: the forced password requirement on a protected child page no longer applies to other posts checked during the same page load, which could cause extra password prompts on unrelated content
  • Tested up to WordPress 7.1

1.5.2

  • Added ABSPATH checks to _inc/admin.php, _inc/deprecated.php, _inc/review-notice.php
  • Fixed unescaped output in add_classic_checkbox() and deprecated warning functions
  • Added sanitization callback to register_setting()
  • Added translators comment for printf call with placeholder
  • Fixed mixed line endings in index.php (normalized to Unix LF)
  • Removed deprecated load_plugin_textdomain() call
  • Updated “Tested up to” to 6.9

1.5.1

  • Added GPL license declaration to plugin header
  • Updated Author URI
  • Added direct file access protection to all PHP files
  • Improved output escaping and input sanitization
  • Removed non-production files from plugin directory

1.5.0

  • Added translations for 50 languages
  • Added POT translation template file
  • Added opt-in data cleanup on plugin deletion
  • Updated FAQ section
  • Updated readme with complete language list

1.4.7

  • Added translations for Russian, Polish, Dutch, Turkish, and Swedish
  • Updated localization section in readme

1.4.6

  • Added Chinese Simplified (zh_CN) translation

1.4.5

  • Added Japanese (ja) translation

1.4.4

  • Tested up to WordPress 6.9.1

1.4.3

  • Fixed critical bug where updating parent page via Quick Edit removed password protection from children
  • Added dismissible review prompt notice after 14 days of usage

1.4.2

  • Added translations for Spanish, French, German, Portuguese (Brazilian), and Italian

1.4.1

  • Compatibility updates for WordPress 6.9 and PHP 8.1+

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!
24 Jul 2017Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)