WP Private – Gated Content for Pos… WordPress Plugin Skip to content
WP Private – Gated Content for Posts & Pages icon

WordPress plugin

WP Private – Gated Content for Posts & Pages

Hide part of a post or page from logged-out visitors and show a login form or login link in its place. One shortcode, no setup.

By Namith Jawahar200+ active installs5.0 out of 5
Active installs
200+
Rating
5.0 / 5
Version
2.0.0
Last updated
Nov 26, 2026
Tested up to
WordPress 7.1.5
Requires
WP 6.8 · PHP 7.4

Health check

Is WP Private – Gated Content for Posts & Pages safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on November 26, 2026. Regular updates usually mean bugs and security reports get fixed.

Tested with current WordPress

The author has tested it up to WordPress 7.1.5.

Few ratings so far

Only 3 ratings on WordPress.org, so the average is not yet a reliable signal.

Requires PHP 7.4 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where WP Private ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for WP Private – Gated Content for Posts & Pages
KeywordPositionChangeTrendCurrent #1
content restriction
login
members-only
private content
shortcode
wp private

Checked against the top 100 WordPress.org search results.

Overview

What WP Private – Gated Content for Posts & Pages does

Sometimes most of a post is for everyone and one part is for people with an account: the meeting minutes, the download link, the second half of the article.

Wrap that part in [protected] and [/protected]. Logged-out visitors see a login form, or a login link, exactly where the hidden part would be. After logging in they are returned to the same post and see everything.

Hides any part of a post or page from logged-out visitors. Use it as many times as you like on one page.

Shows a login form, a login and register link, or nothing in place of the hidden part.

Lets you write the text shown around the login prompt.

Lets you exclude individual users even when they are logged in.

Works on activation. Settings are optional.

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

WP Private – Gated Content for Posts & Pages in action

A post on a default block theme, logged out: the teaser, then the login form in place of the hidden part.
A post on a default block theme, logged out: the teaser, then the login…
The same post, logged in: the full text.
The same post, logged in: the full text.
The block editor: [protected] and [/protected] in Shortcode blocks around the paragraphs to hide.
The block editor: [protected] and [/protected] in Shortcode blocks around the paragraphs to hide.

FAQ

WP Private – Gated Content for Posts & Pages: questions and answers

What is WP Private – Gated Content for Posts & Pages?

WP Private – Gated Content for Posts & Pages is a WordPress plugin by Namith Jawahar. Hide part of a post or page from logged-out visitors and show a login form or login link in its place. One shortcode, no setup.

Is WP Private – Gated Content for Posts & Pages free?

WP Private – Gated Content for Posts & Pages is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use WP Private – Gated Content for Posts & Pages?

WordPress.org reports 200+ active installations of WP Private – Gated Content for Posts & Pages. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is WP Private – Gated Content for Posts & Pages still maintained?

WP Private – Gated Content for Posts & Pages was last updated on November 26, 2026. The current version is 2.0.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does WP Private – Gated Content for Posts & Pages require?

WP Private – Gated Content for Posts & Pages requires WordPress 6.8 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.1.5.

Can Codefreex set up or customize WP Private – Gated Content for Posts & Pages?

Yes. Codefreex installs, configures and customizes WordPress plugins including WP Private – Gated Content for Posts & Pages, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need WP Private – Gated Content for Posts & Pages set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us