WordPress.org

Plugin Directory

ContentGate – Content Restriction & Access Control by Login Status & User Role

ContentGate – Content Restriction & Access Control by Login Status & User Role

Description

Restrict content on your WordPress website with simple, rule-based access control.

ContentGate lets you control who can view your content based on login status and user roles. Whether you want to hide pages from non-logged-in users, limit access by role, or protect specific posts, ContentGate makes it easy to create clear rules and apply them instantly.

Set conditions once and control content visibility across your site without complex setup.

Key Features

Rule-Based Content Restriction

Content Restriction based on:

  • Login Status (Logged in vs logged out users)
  • WordPress user roles (Administrator, Editor, Author, etc.)
  • Combined conditions using AND logic

Create rules using a simple IF THEN logic. Some examples:

  • IF user is “Logged In” access page A, B and C (logged out user cannot access A, B and C)
  • IF user role is “subscriber” or “editor” can access page A, B and C (Contributor cannot access pages)
  • IF user is “Logged In” and role is “Author” can access page A, B and C (Others will see content restriction message)

Apply Rules to Your Content

Control access for:

  • Entire website
  • Specific pages
  • Individual posts

Global Restriction Message

Display a consistent message when unauthorized user tries accessing your restricted content:

  • Show custom instructions
  • Prompt users to log in
  • Use smart tags for dynamic content

This helps users understand why content is hidden and what they need to do next, reducing confusion and improving overall experience.

How It Works

ContentGate uses a simple rule system:

  1. Create a rule
  2. Set conditions (login status, user role, or both)
  3. Choose content to restrict
  4. Save and apply

Content visibility updates automatically based on your rules.

Easy Rule Management

Create and manage your content restriction rules without complexity:

  • Add, update, or delete rules anytime
  • Supports up to 3 active rules (unlimited in Pro)
  • Clean interface focused on quick setup
  • No coding or technical setup required

Designed to keep content restriction simple while giving you just enough control for common use cases.

What You Can Do with ContentGate

ContentGate is designed for focused content restriction use cases:

  • Create a Login Requirement: Require users to log in before accessing your content.
  • Restrict Content by Role: Control which user roles can view specific content.
  • Protect Selected Content: Restrict access to specific pages or posts without affecting the entire site.
  • Restrict Your Entire Website: Make your whole website accessible only to selected users or logged-in visitors.
  • Combine Conditions for Better Control: Use AND logic to apply multiple conditions together:
    • Logged in AND specific role
    • Logged out AND restricted content

Who Is It For?

ContentGate is ideal for:

  • Website owners who need simple content restriction
  • Blogs that require login to view content
  • Small websites with basic access control needs
  • Private or internal websites
  • Anyone looking for a lightweight restriction solution

Why Content Restriction Matters

Without proper control, content can be accessed by anyone, which may not always be intended.

ContentGate helps you:

  • Control who can view your content
  • Protect sensitive or limited-access pages
  • Manage visibility with simple rules

Built for WordPress

  • Uses native WordPress roles and login system
  • Works with existing pages and posts
  • Lightweight and performance-friendly

External Services

  1. Google Fonts

This plugin connects to Google Fonts to load typography for frontend display.

It sends the user’s IP address to Google servers when fonts are requested. This request is made when a page containing the plugin is loaded.

This service is provided by Google LLC:
– Terms of Service: https://policies.google.com/terms
– Privacy Policy: https://policies.google.com/privacy

  1. SelectWoo

This plugin includes the SelectWoo library to enhance select box UI functionality.

SelectWoo is bundled with the plugin and runs locally on the user’s browser. No data is sent to external servers.

SelectWoo is an open-source library maintained by the WooCommerce team:
– Source: https://github.com/woocommerce/selectWoo

Reviews

There are no reviews for this plugin.

Contributors & Developers

“ContentGate – Content Restriction & Access Control by Login Status & User Role” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.1 – 06-04-2026

  • Fix – Hide unrelated admin notices

1.0.0 – 01-04-2026

  • Initial Public Release