Customize Private & Protected – Change the prefix and more

Use WP Customize to modify elements of password protected and private posts and pages.

Author:kirkclarke (profile at wordpress.org)
WordPress version required:5.8
WordPress version tested:7.1.3
Plugin version:1.6.0
Added to WordPress repository:31-08-2021
Last updated:14-10-2026
Rating, %:94
Rated by:3
Plugin URI:https://github.com/kclarkedesign/customize-pr...
Total downloads:6 168
Active installs:400+
plugin download
Click to start download

Extends WordPress’s own built-in password-protected and private post/page settings — no second password system, no Pro tier, no upsells.

Title prefix

  • Hide the “Protected: ” / “Private: ” prefix WordPress adds to a password-protected or private post’s title
  • Or replace it with your own text

Password form

  • Rewrite the intro text, the password label, and the submit button text
  • Set the password field’s and submit button’s colors, and the button’s padding
  • Add widget areas before and after the form
  • Custom “Invalid password” text for a wrong attempt (WordPress 6.8+)
  • Custom excerpt text for protected posts in lists
  • Set how long the password cookie lasts, or make it a session-only cookie
  • Hide password-protected posts from your homepage, archives, search results, and feeds, while keeping them reachable at their own URL
  • Or keep your theme’s own password form (Divi supported) and just add the widget areas

Configure it through the Customizer (Appearance > Customize), which previews your changes as you type, or through Settings > Private & Protected, a plain settings page that works the same on every theme, block themes included. Both edit the same settings. Four options added in 1.6 (invalid password text, excerpt text, cookie lifetime, hide from lists) are on the settings page only.

Donations

If you’d like to support future development, buy me a tea!


Screenshots
FAQ
ChangeLog