WP Manifestindependent plugin directory
manifest / users / wp-gated-site

WP Gated Content

A plugin for creating gated portal sites for courses, membership, etc...

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/aplauche/wp-gated-site/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Create a gated content site where users must register and login to access content beyond the home page.

Description

WP Gated Content is a simple yet powerful plugin that transforms your WordPress site into a gated content platform. Perfect for course content, exclusive resources, or any content you want to keep behind a registration wall.

Key Features:

  • Complete Access Control: All pages except home, login, register, and password recovery are gated
  • Member Role: Adds a dedicated "member" user role with read-only access to gated content
  • Clean Authentication Pages: Provides styled login, register, and password recovery pages
  • Admin Protection: Members cannot access the WordPress dashboard or admin bar
  • Automatic Redirections: Smart redirects for authenticated/unauthenticated users
  • Fully Customizable: CSS variables make styling customization simple
  • AJAX-Powered: Smooth user experience with AJAX form submissions
  • Security-First: Built following WordPress security best practices

Perfect For:

  • Online course platforms
  • Membership sites
  • Exclusive content libraries
  • Private resource centers
  • Client portals
  • Premium content sites

How It Works:

  1. Install and activate the plugin
  2. The plugin automatically creates login, register, and password recovery pages
  3. Unauthenticated users can only access the home page and authentication pages
  4. Users who register get the "member" role and can access all content
  5. Members are redirected away from admin areas to keep the site clean

Installation

  1. Upload the plugin files to the /wp-content/plugins/wp-gated-content directory, or install the plugin through the WordPress plugins screen directly
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. The plugin works automatically - no configuration needed!
  4. Customize the styling by overriding CSS variables in your theme

Frequently Asked Questions

Can I customize the styling of the authentication pages?

Yes! The plugin uses CSS variables for all colors and spacing. You can override these variables in your theme's CSS file. See the plugin's CSS file for examples.

What happens to existing user roles?

The plugin only adds a new "member" role and doesn't affect existing roles like Administrator, Editor, etc. Existing users keep their current capabilities.

Can I change which pages are accessible to unauthenticated users?

The plugin is designed to only allow access to the home page and authentication pages for unauthenticated users. For custom requirements, you would need to modify the plugin code.

Do members get any admin privileges?

No, members only get the "read" capability and cannot access the WordPress admin area or see the admin bar.

Is the plugin translation-ready?

Yes, the plugin is fully translation-ready with the text domain 'wp-gated-content'.

Changelog

1.0.0

  • Initial release
  • Complete gated content functionality
  • Member role creation
  • Authentication pages with AJAX
  • CSS variable-based styling
  • Security and access control features

Upgrade Notice

1.0.0

Initial release of WP Gated Content plugin.