sandywp / plugins / protect-the-children

Protect the Children!

4.9 out of 5 stars. 4.9 15 reviews

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

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v1.5.2 1,000+ installs PHP 8.1+

your-sandbox.sandywp.com/wp-admin
Protect the Children! running inside a SandyWP sandbox

What you get inside

7 screens
  • 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

About this plugin

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!

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)

Questions

How do I protect child pages?

Edit the parent page, set its Visibility to “Password Protected”, enter a password, and check the “Protect child pages” checkbox. All child and grandchild pages will automatically be protected with the same password.

Does it work with custom post types?

Yes! As of version 1.3.9, the plugin fully supports custom post types that have hierarchical (parent/child) relationships.

Do users need to enter the password for every child page?

No. Once a user enters the password on any protected page (parent or child), all related pages are unlocked for that session.

Does it work with the Gutenberg block editor?

Yes. The plugin supports both the classic editor and the Gutenberg block editor (WordPress 5.0+). The protection checkbox appears in the Visibility settings panel.

What languages are supported?

The plugin is available in 30 languages with more being added regularly. We are working toward supporting 50 languages total!

4.9

15 reviews

  • 5 ★ 14
  • 4 ★ 1
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

  • CC Child Pages

    4.9 · 9K+ installs

    Display WordPress child pages in a responsive grid or list using a shortcode, Gutenberg block or Elementor widget.

  • List Pages Shortcode

    4.9 · 5K+ installs

    Introduces the [list-pages], [sibling-pages] and [child-pages] shortcodes for easily displaying a list of pages within a post or…

  • Child Pages Block

    3.3 · 90+ installs

    Gutenberg block gets child pages list of specific page

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.