WordPress plugin intelligence profile

Codifigata – Content Login Gate

Hide the entire content or just one section behind a login, with blur or full removal, and a customizable login button.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.5.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 5.8 · PHP 7.4
Directory statusactive
Last directory update14 Aug 20262mo ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Codifigata – Content Login Gate version 1.5.0 as active, updated 2mo ago and tested up to WordPress 7.1.

Overview

About this plugin

Codifigata – Content Login Gate lets you restrict the entire content of a post/page, or just part of it (for example download buttons), to logged-in users, showing a login button to logged-out visitors in place of the restricted content.

Two usage modes

  • Gate the entire content — enable it with a simple checkbox in the “Restricted access” meta box, shown in the editor sidebar for posts and pages.
  • Gate a specific area — using the [cdfg_login_gate]...[/cdfg_login_gate] shortcode, which can be added in the Gutenberg “Shortcode” block. Useful for hiding only one section of the content (e.g. download buttons) while keeping the rest of the post visible.

Two display modes (Settings → Content Login Gate)

  • Blur the content — the content stays in the page but is visually blurred via CSS, with an overlay and a login button. Effective as a preview/registration nudge, but it is not real protection: anyone who views the page source can still read the content.
  • Hide the content — the restricted content is not included in the HTML sent to logged-out users: only the login button appears on the page. Recommended for genuinely sensitive content (download links, private information, etc.).

Features

  • Works right after activation, with sensible defaults.
  • Settings page with a color picker to customize the button’s background color, text color, and label, without writing code.
  • CSS is only loaded on pages where the gate is actually active (no impact on pages without restricted content).
  • Login button URL: defaults to the standard WordPress login page ( wp-login.php ), with an optional field in Settings to point it to a custom login page instead, plus automatic redirect back to the original content after login (the redirect parameter name is also configurable, for custom login pages that don’t use redirect_to ).
  • Optional FontAwesome icon before the button label, if FontAwesome is already loaded by your theme or another plugin.
  • Supported post types customizable via a PHP filter.
  • min_height and label shortcode attributes to customize each individual restricted area.

Developer filters

cdfg_clg_login_url (string $login_url, string $redirect)

Filters the base URL of the login page. Default: wp_login_url(), or the URL set in Settings → Content Login Gate if not empty.

cdfg_clg_button_label (string $label)

Filters the default label of the login button.

cdfg_clg_post_types (array $post_types)

Filters the list of post types on which the “Restricted access” meta box is shown. Default: array( 'post', 'page' ).

Example:

add_filter( 'cdfg_clg_login_url', function( $url, $redirect ) { return home_url( '/sign-in/' ); }, 10, 2 );

add_filter( 'cdfg_clg_post_types', function( $post_types ) { $post_types[] = 'product'; return $post_types; } );

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • content protection
  • restrict content
  • login
  • membership
  • shortcode
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 5.8 · PHP 7.4
Update activity14 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.