=== Better Protected Password Pages ===
Contributors: niallolaoghaire
Tags: password protected, protected posts, protected pages, password form, privacy
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.1.29
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Improve the default WordPress password-protected content experience with global settings and per-content overrides.

== Description ==

Better Protected Password Pages is a lightweight plugin for improving WordPress's built-in password-protected posts and pages.

The plugin keeps the native WordPress password protection workflow, then adds simple controls for the visitor-facing password form.

Features:

* Remove the default "Protected:" prefix from protected content titles.
* Customize the password form intro text.
* Customize the submit button label.
* Customize the failed password message.
* Add an optional password field placeholder.
* Set the protected content password cookie duration.
* Add an optional logo/image above the password form.
* Set optional button and form background colours.
* Add optional custom CSS classes to the password form wrapper.
* Enable lightweight default styling for password forms.
* Add per-page/post overrides for password-protected content.
* Reset settings to defaults.

Better Protected Password Pages is intentionally small. It does not replace WordPress roles, membership plugins, or access-control systems.

== Installation ==

1. Upload the `better-protected-pages` folder to `/wp-content/plugins/`.
2. Activate **Better Protected Password Pages** through the **Plugins** screen in WordPress.
3. Go to **Settings > Better Protected Password Pages**.
4. Configure the global password form settings.

== Frequently Asked Questions ==

= Does this replace WordPress password protection? =

No. It uses WordPress's built-in password-protected content feature and improves the title and password form experience.

= Can I set different settings per page? =

Yes. Password-protected posts, pages, and public custom post types can use per-content overrides for form text, failed password text, logo/image, and colours.

= Does this work with membership plugins? =

Membership plugin integrations are not part of the current scope.

= Does this include a visual styling builder? =

No. The plugin includes an optional lightweight default stylesheet and a custom CSS class field for theme or custom CSS targeting.

= Will the password form match my theme? =

By default, the form relies on your active theme. If you enable the default styling option, the plugin loads a small stylesheet that adds light form structure.

= What happens on uninstall? =

The plugin removes its saved settings and per-content override metadata when uninstalled.

== Screenshots ==

Global settings panel for customising password-protected content, including messages, styling and access duration.
Frontend password form shown to visitors, with custom branding, messaging and button styling.
Per-page protection settings inside the WordPress editor, allowing individual pages to override global defaults.

== Changelog ==

= 0.1.29 =

* Initial MVP.
* Removes the default "Protected:" title prefix.
* Adds global settings for password form intro text, button label, placeholder, and cookie duration.
* Adds failed password message, logo/image, button colour, and background colour settings.
* Adds optional custom CSS class support and lightweight default styling.
* Adds per-page/post override settings for protected content.
* Adds uninstall cleanup.

== Upgrade Notice ==

= 0.1.28 =

Initial MVP release.
