Logo

Creating Global Restriction Message

Configure the default message shown to visitors when they access restricted content, providing consistent messaging across all content protection rules.

Last updated on Apr 13, 2026

The Global Restriction Message is the default message displayed to visitors when they attempt to access restricted content on your WordPress site.

This message appears whenever a user doesn't meet the conditions defined in your content rules. You can customize this message to match your brand, add login/signup links, and guide users on how to gain access.

Prerequisites

ContentGate plugin installed and activated

At least one content rule created (to see the message in action)

Configure the Global Restriction Message

Steps

Go to ContentGate → Settings in your WordPress admin sidebar.

Click the General tab.

Locate the Global Restriction Message field under Restriction Settings.

Enter your custom message in the rich text editor. You can format text, add links, and use smart tags.

Click Save Changes.

Using Smart Tags

Smart tags are dynamic placeholders that automatically generate login and signup buttons in your restriction message.

Available Smart Tags

{{log_in}} — Displays a Log In button

{{sign_up}} — Displays a Sign Up link

Steps

Place your cursor where you want the button or link to appear.

Click Add Smart Tags above the editor.

Select the smart tag you want to insert.

The smart tag will appear in your message as {{log_in}} or {{sign_up}}. When visitors see the restriction message, these tags will be replaced with functional buttons.

Expected Result

After saving your changes, the Global Restriction Message will appear whenever a visitor tries to access content they don't have permission to view. The message will display exactly as you formatted it, with smart tags converted into functional buttons.