Title: Gatekeepr – Password Protect for Post Types
Author: Bilal
Published: <strong>29 juillet 2026</strong>
Last modified: 29 juillet 2026

---

Recherche d’extensions

![](https://ps.w.org/gatekeepr/assets/banner-772x250.png?rev=3627182)

![](https://ps.w.org/gatekeepr/assets/icon-256x256.png?rev=3627169)

# Gatekeepr – Password Protect for Post Types

 Par [Bilal](https://profiles.wordpress.org/mbilalkk/)

[Télécharger](https://downloads.wordpress.org/plugin/gatekeepr.1.0.0.zip)

 * [Détails](https://fr.wordpress.org/plugins/gatekeepr/#description)
 * [Avis](https://fr.wordpress.org/plugins/gatekeepr/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/gatekeepr/#installation)
 * [Développement](https://fr.wordpress.org/plugins/gatekeepr/#developers)

 [Support](https://wordpress.org/support/plugin/gatekeepr/)

## Description

Gatekeepr lets you require a password before visitors can view the single/detail
page of any post type — Posts, Pages, or any custom post type registered by your
theme or another plugin.

Unlike WordPress’s built-in per-post password protection, this plugin protects an
entire post type at once from a single settings screen — with either one shared 
password for everything, or an individual password per post type.

#### Features

 * Choose exactly which post types are protected — every public post type is listed
   with a toggle, including custom post types.
 * Two password modes: one shared password for everything, or an individual password
   per protected post type.
 * Visitors who enter the correct password stay unlocked for a configurable number
   of days (cookie-based), instead of being asked every visit.
 * Changing a password immediately invalidates every visitor’s existing unlock for
   it — no manual cleanup needed.
 * Logged-in users who can edit a given post always see it directly, so editing 
   and previewing is never blocked.
 * Clean, standalone unlock screen that doesn’t depend on your active theme, so 
   it renders consistently even on page-builder sites.
 * Customize the unlock screen: background color, accent color, an uploaded logo,
   and an optional secondary button (e.g. « Contact us ») linking anywhere you choose.
 * Built-in brute-force throttling on the password form.
 * The REST API and RSS/Atom feeds are gated too, so protected content isn’t readable
   through either while locked.
 * Protected post types are automatically excluded from XML sitemaps (core WordPress
   sitemaps, Yoast SEO, and Rank Math), so they aren’t advertised to search engines.
 * A small « Protected » indicator appears in the post list table for any post type
   that’s currently gated, so editors can see it at a glance.
 * Compatible with full-page caching plugins — protected pages are automatically
   excluded from the page cache so one visitor’s session is never served to another.
 * No external requests, no tracking, no bundled third-party services.

Development happens in the open on GitHub: https://github.com/bilalkk9/post-type-
password-protect

#### A note on the « current password » display

The Gatekeepr settings screen can show you the current password (hidden by default,
behind a « Show » toggle) so you don’t need to reset it if you’ve forgotten it. 
To make this possible, the password is stored in an encrypted, recoverable form 
rather than only as a one-way hash. If your workflow requires a password that can
never be viewed after saving, simply treat the field as write-only and don’t use
the « Show » toggle — the underlying visitor-facing verification always uses a one-
way hash regardless.

## Captures d’écrans

[⌊Choose which post types are protected, with a clear toggle for each.⌉⌊Choose which
post types are protected, with a clear toggle for each.⌉[

Choose which post types are protected, with a clear toggle for each.

[⌊Appearance settings — background color, accent color, logo, and secondary button.⌉⌊
Appearance settings — background color, accent color, logo, and secondary button
.⌉[

Appearance settings — background color, accent color, logo, and secondary button.

[⌊Individual password mode — give each protected post type its own password.⌉⌊Individual
password mode — give each protected post type its own password.⌉[

Individual password mode — give each protected post type its own password.

[⌊The front-end unlock screen shown to visitors.⌉⌊The front-end unlock screen shown
to visitors.⌉[

The front-end unlock screen shown to visitors.

[⌊The Gatekeepr settings screen — password mode, password field, and unlock duration.⌉⌊
The Gatekeepr settings screen — password mode, password field, and unlock duration
.⌉[

The Gatekeepr settings screen — password mode, password field, and unlock duration.

[⌊A "Protected" indicator column on the Posts list, showing which posts are gated.⌉⌊
A "Protected" indicator column on the Posts list, showing which posts are gated.⌉[

A « Protected » indicator column on the Posts list, showing which posts are gated.

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/gatekeepr` directory, or install
    the plugin directly through the WordPress « Plugins  Add New » screen.
 2. Activate the plugin through the « Plugins » screen in WordPress.
 3. Go to Settings  Password Protect.
 4. Check the post types you want to protect, set a password, and click « Update Password».

## FAQ

### Does this replace WordPress’s built-in post password feature?

No. WordPress’s native feature protects one post at a time with a password you set
per-post. This plugin instead protects every single/detail page of a chosen post
type at once, from a single settings screen — with a shared password across all 
protected types, or a separate password for each one.

### Will search engines index my protected pages?

No. While a page is locked, the unlock screen is served with a `noindex` directive
instead of the real content.

### What happens if I change the password?

Every visitor who was previously unlocked will be asked for the password again on
their next visit. This happens automatically — there is nothing to clear manually.

### Does this work with page builders like Elementor?

Yes. The gate runs before the page is rendered, so it works regardless of how the
page itself was built.

### Does this affect the REST API or RSS feeds?

Protected, locked posts have their content and excerpt redacted in both the REST
API and RSS/Atom feed output, so the underlying content isn’t exposed through those
either.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Gatekeepr – Password Protect for Post Types » est un logiciel libre. Les personnes
suivantes ont contribué à cette extension.

Contributeurs

 *   [ Bilal ](https://profiles.wordpress.org/mbilalkk/)

[Traduisez « Gatekeepr – Password Protect for Post Types » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/gatekeepr)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/gatekeepr/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/gatekeepr/), ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/gatekeepr/)
par [RSS](https://plugins.trac.wordpress.org/log/gatekeepr/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.0.0

 * Initial release.

## Méta

 *  Version **1.0.0**
 *  Dernière mise à jour **il y a 4 semaines**
 *  Installations actives **Moins de 10**
 *  Version de WordPress ** 6.0 ou plus **
 *  Testé jusqu’à **7.0.4**
 *  Version de PHP ** 7.4 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/gatekeepr/)
 * Étiquettes
 * [access-control](https://fr.wordpress.org/plugins/tags/access-control/)[content-protection](https://fr.wordpress.org/plugins/tags/content-protection/)
   [custom post type](https://fr.wordpress.org/plugins/tags/custom-post-type/)[Password Protect](https://fr.wordpress.org/plugins/tags/password-protect/)
   [restrict content](https://fr.wordpress.org/plugins/tags/restrict-content/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/gatekeepr/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Votre avis](https://wordpress.org/support/plugin/gatekeepr/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/gatekeepr/reviews/)

## Contributeurs

 *   [ Bilal ](https://profiles.wordpress.org/mbilalkk/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/gatekeepr/)