Master Addons
  • Widgets
    • Changelogs
      Source Code NEW PRO
      Caldera Forms
      Logo Slider
      Table of Contents
      Gravity Forms
      Transforms PRO
      Restrict Content PRO
      Pricing Table
      Ninja Form
      Mailchimp
      Tooltip
      Popup Trigger NEW PRO
      Which Element NEW
      Creative Button
      Creative Links NEW
      Domain Search HOT PRO
      Dual Heading HOT
      Flipbox
      Animated Gradient BG HOT PRO
      Image Hotspot PRO
      Infobox
      News Ticker PRO
      Particles
      Progress Bar
      Off-Canvas Content NEW PRO
      Reading Progress Bar HOT
      Custom JS
      Blockquote
      Counter Up
      Image Hover Effects
      Reveal NEW PRO
      Rellax PRO
      Positioning
      Image Comparison
      Tabs
      Toggle Content HOT PRO
      Post/Page Duplicator FREE
      Icons Extended
      Floating Effects PRO
      Mega Menu HOT
      Custom CSS HOT
      Gradient Headline
      Advanced Image
      Nav Menu
      Tooltips
      Comparison Table PRO
      Glassmorphism
      Featured Product PRO
      Image Carouse
      Gallery Slider NEW PRO
      Dynamic Tags NEW
      Countdown Timer
      Current Time
      Patterns
      Wrapper Link
      Timeline
      Team Member
      Contact Form 7
      Advanced Accordion
      Animated Headlines
      Blog
      Business Hours
      Call To Action
      Progress Bars
      Background Slider
      Team Slider
      Dynamic Table
      Grid Line PRO
      WP Forms
      Search
      We Form
      Entrance Animation NEW PRO
      Display Conditions PRO
      Filterable Image Gallery
      WP Forms
      Custom Breakpoints NEW
  • Features
    • Theme Builder

      Design site-wide templates for a consistent look across every page of your website.

      Popup Builder

      Create engaging popups, modals, and announcement bars - to capture leads.

      Widget Builder

      Expand Elementor with advanced custom widgets to build more dynamic layouts.

      Mega Menu Builder

      Create multi-column menus with icons and images for superior navigation.

      Custom Css

      Apply your own CSS for pixel-perfect styling beyond default design options.

      Dynamic Tags

      Insert dynamic content like post titles and custom fields directly into designs.

      Display Conditions

      Control element visibility based on user role, device, time, and other rules.

      Icons Library

      Choose from thousands of built-in icons to enhance visuals and consistency.

      Animation

      Add scroll, hover, entrance, and much more animations to bring designs to life.
  • Template Kits
    • Template Kits

      Professionally designed full-page template Kit. Import and customize in seconds.

      Ready Sections

      Pre-built content sections and rows. Drag, drop, and customize instantly.

      Ready Popups

      Different types of High-converting popup designs. Import and launch quickly.

      Ready Pages

      Complete page layouts for any purpose. Start editing immediately.

      Ready Header

      Multiple modern header designs. Import and adapt to your brand.

      Ready Footer

      Fully designed footers for different websites. Add functionality and style in clicks.
  • Brands
    • WP Adminify

      Take control of your WordPress dashboard. Customize the admin experience.

      Admin Bar Editor

      Customize the WordPress admin bar for a cleaner, more personalized workspace.

      Loginfy

      Customize your WordPress login page with branding, styles, and security enhancements.

      Rolemaster Suite

      Manage user roles and permissions with precision for better security and workflow.

      Master Blocks

      Expand the Gutenberg editor with advanced custom blocks for more creative layouts.

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
  • Blog
  • Widgets
    • Changelogs
      Source Code NEW PRO
      Caldera Forms
      Logo Slider
      Table of Contents
      Gravity Forms
      Transforms PRO
      Restrict Content PRO
      Pricing Table
      Ninja Form
      Mailchimp
      Tooltip
      Popup Trigger NEW PRO
      Which Element NEW
      Creative Button
      Creative Links NEW
      Domain Search HOT PRO
      Dual Heading HOT
      Flipbox
      Animated Gradient BG HOT PRO
      Image Hotspot PRO
      Infobox
      News Ticker PRO
      Particles
      Progress Bar
      Off-Canvas Content NEW PRO
      Reading Progress Bar HOT
      Custom JS
      Blockquote
      Counter Up
      Image Hover Effects
      Reveal NEW PRO
      Rellax PRO
      Positioning
      Image Comparison
      Tabs
      Toggle Content HOT PRO
      Post/Page Duplicator FREE
      Icons Extended
      Floating Effects PRO
      Mega Menu HOT
      Custom CSS HOT
      Gradient Headline
      Advanced Image
      Nav Menu
      Tooltips
      Comparison Table PRO
      Glassmorphism
      Featured Product PRO
      Image Carouse
      Gallery Slider NEW PRO
      Dynamic Tags NEW
      Countdown Timer
      Current Time
      Patterns
      Wrapper Link
      Timeline
      Team Member
      Contact Form 7
      Advanced Accordion
      Animated Headlines
      Blog
      Business Hours
      Call To Action
      Progress Bars
      Background Slider
      Team Slider
      Dynamic Table
      Grid Line PRO
      WP Forms
      Search
      We Form
      Entrance Animation NEW PRO
      Display Conditions PRO
      Filterable Image Gallery
      WP Forms
      Custom Breakpoints NEW
  • Features
    • Theme Builder

      Design site-wide templates for a consistent look across every page of your website.

      Popup Builder

      Create engaging popups, modals, and announcement bars - to capture leads.

      Widget Builder

      Expand Elementor with advanced custom widgets to build more dynamic layouts.

      Mega Menu Builder

      Create multi-column menus with icons and images for superior navigation.

      Custom Css

      Apply your own CSS for pixel-perfect styling beyond default design options.

      Dynamic Tags

      Insert dynamic content like post titles and custom fields directly into designs.

      Display Conditions

      Control element visibility based on user role, device, time, and other rules.

      Icons Library

      Choose from thousands of built-in icons to enhance visuals and consistency.

      Animation

      Add scroll, hover, entrance, and much more animations to bring designs to life.
  • Template Kits
    • Template Kits

      Professionally designed full-page template Kit. Import and customize in seconds.

      Ready Sections

      Pre-built content sections and rows. Drag, drop, and customize instantly.

      Ready Popups

      Different types of High-converting popup designs. Import and launch quickly.

      Ready Pages

      Complete page layouts for any purpose. Start editing immediately.

      Ready Header

      Multiple modern header designs. Import and adapt to your brand.

      Ready Footer

      Fully designed footers for different websites. Add functionality and style in clicks.
  • Brands
    • WP Adminify

      Take control of your WordPress dashboard. Customize the admin experience.

      Admin Bar Editor

      Customize the WordPress admin bar for a cleaner, more personalized workspace.

      Loginfy

      Customize your WordPress login page with branding, styles, and security enhancements.

      Rolemaster Suite

      Manage user roles and permissions with precision for better security and workflow.

      Master Blocks

      Expand the Gutenberg editor with advanced custom blocks for more creative layouts.

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
  • Blog
Purchase Now

Getting Started

  • Can’t see the Master Addon Element inside Elementor Page editor?
  • How To Apply For an Affiliate Account?
  • Active Pro version
  • Installing Plugin

Addons

  • Off-Canvas Content
  • Logo Slider
  • Progress Bars
  • Image Carousel
  • Featured Product
  • Comparison Table
  • Source Code
  • Advanced Image
  • Gradient Headline
  • Gallery Slider
  • Toggle Content
  • Infobox
  • Timeline
  • Dynamic Table
  • Mailchimp
  • Blockquote
  • Changelogs
  • Countdown Timer
  • Current Time
  • Search
  • Filterable Image Gallery
  • Team Slider
  • Counter Up
  • Restrict Content
  • Table of Contents
  • Image Hotspot
  • Image Comparison
  • News Ticker
  • Image Hover Effects
  • Tabs
  • Pricing Table
  • Navigation Menu
  • Domain Search
  • Flipbox
  • Tooltip
  • Creative Links
  • Business Hours
  • Contact Form 7
  • Creative Button
  • Animated Headlines
  • Advanced Accordion
  • Call to Action
  • Progress Bar
  • Blog
  • Team Member
  • Dual Heading

Extensions

  • Which Element
  • Post Duplicator
  • Grid Line
  • Glassmorphism
  • Tooltip
  • Wrapper Link
  • Floating Effects
  • Dynamic Tags
  • Display Conditions
  • Entrance Animation
  • Custom Breakpoints
  • Animated Gradient Background
  • Reveal
  • Particles
  • Background Slider
  • Transforms
  • Rellax
  • Positioning
  • Custom CSS

Widget Builder

  • Widget Builder Settings Panel Introduction
  • Divider
  • Text Shadow
  • Select2
  • Border
  • Heading
  • Tabs
  • Repeater
  • Visual Choice
  • Background
  • Dimensions
  • Box Shadow
  • Slider
  • Icons
  • Gallery
  • Media
  • Popover Toggle
  • Widget Builder URL Field
  • Date Time
  • Typography
  • Font
  • Widget Builder Color Field
  • Choose
  • Select
  • Switcher
  • Hidden
  • Code
  • WYSIWYG
  • Widget Builder Textarea Field
  • Number
  • Widget Builder Text Field

Theme Builder

  • Comment Form
  • 404
  • Search
  • Archive
  • Single
  • Footer
  • Header

Popup Builder

  • How to Open a Popup After Inactivity in Elementor
  • How to Show an Exit Intent Popup in Elementor
  • How to Open a Popup on Scroll to a Specific Element in Elementor
  • How to Open a Popup on Scroll in Elementor
  • How to Open a Popup on Click in Elementor
  • How to open a popup on page load?
  • Popup Settings & Options

Template Kit

  • How to Import Template Kits in Master Addons
  • How to Disable Elementor Default Fonts and Colors
  • Import Elementor Template Kits
View Categories
  • Home
  • Docs
  • Addons
  • Restrict Content

Restrict Content

Roy
Updated on July 5, 2026

8 min read

Sometimes a page needs a gate. Members-only pricing, an age-gated product video, a client portal, a coupon hidden behind a password. The Restrict Content widget in Master Addons for Elementor puts that gate inside any Elementor section. You can restrict content in Elementor by user role, password, age, or a simple math captcha, and the prompt can show inline or as a popup.

Below I go through each restriction type and the settings you’ll actually touch, so you can pick the right gate for what you’re protecting.

Restrict Content widget inside the Master Addons section of the Elementor panel

What the Restrict Content widget does #

The widget wraps whatever content you want to protect. A visitor sees either that content or a prompt, depending on the rule you set. There are four restriction types:

  • User Based: show or hide the content based on the visitor’s WordPress user role.
  • Password Based: ask the visitor to enter a password you set.
  • Age Restriction: require the visitor to confirm they meet a minimum age.
  • Math Captcha: ask the visitor to solve a simple math problem.

You also decide how the prompt shows up. On Page drops the restriction box right where the widget sits. Popup opens it in a modal overlay.

Before you start #

  • WordPress with Elementor installed and active.
  • Master Addons for Elementor installed and active. If you haven’t installed it yet, follow the installation guide.
  • The Restrict Content widget enabled in the Master Addons options panel.
  • Optional: a saved Elementor template, if you want to load one as the restricted content or the warning message.

Add the widget to your page #

Open the Elementor editor and search the widgets panel for “Restrict Content.” Drag the Master Addons Restrict Content widget into the section where you want the gate. It loads with some default text and the Content tab already open.

Restrict content by user role #

Reach for the User Based option when only certain WordPress users should see the content. In the Content tab, set the second Restrict Type dropdown to User Based. A Select User Roles field shows up. Pick one or more WordPress user roles, like Administrator, Editor, Subscriber, or Customer.

User Based restriction type with Administrator role selected in the Restrict Content widget

Anyone not logged in with one of the selected roles gets the warning message instead of the protected content. One thing to keep in mind: logged-out visitors have no role at all, so they’ll always hit the warning here. This mode works well for membership areas, client portals, or staff-only downloads. If you need finer visibility rules, pair it with the Display Conditions extension.

Password protect an Elementor section #

Set the second Restrict Type dropdown to Password Based, then type the password into the Set Password field. On the front end, visitors get a password field and a Submit button, and the protected content only appears once they enter the right password.

Password Based restriction with a set password field and password prompt on the canvas

You can rewrite the placeholder text in the Password Field section. The demo uses “Enter Password,” but “Type Password” or “Client Access Code” work just as well. Worth remembering: this is a single shared password stored in the page, not a per-user login, so treat it as a light gate rather than real account security.

Password Field section showing the placeholder text control set to Type Password

Add age verification in Elementor #

Set the second Restrict Type dropdown to Age Restriction and enter a Minimum Age, say 18 or 21. Then choose the Age Restrict Type:

  • Select Birthday: visitors pick their birth date from day, month, and year fields.
  • Math Captcha: visitors solve a math problem to continue.
Age Restriction settings with minimum age 18 and Select Birthday type showing DD MM YYYY fields

The birthday option fits alcohol, vaping, or adult-content sites. Math captcha is quicker for visitors who just need a lightweight age check. If you want a full-screen age-verification popup instead, see the Age Verification for Elementor guide.

Use math captcha to restrict content #

Set the second Restrict Type dropdown to Math Captcha, then pick the Math Type: Add, Subtract, or Multiply. The widget spits out a random problem like “11 x 13 =” and the visitor has to solve it.

Math Captcha restriction showing Age Verification 11 x 13 equals with a submit field

It’s a low-friction way to stop casual bots or add a playful gate to a contest or giveaway page. Switch the math type now and then so the challenge doesn’t get predictable.

Choose what to protect #

The Restrict Content section is where you set the actual content behind the gate. Open it and set Select Source to one of two options:

  • Custom Content: type or paste content straight into the WYSIWYG editor. The demo uses the text, “This is your content that you want to be restricted by either user role or password.”
  • Saved Section: load any saved Elementor template, like a pricing table, contact form, or video.
Restrict Content section with Select Source set to Custom Content and sample text in the editor

Saved sections earn their keep when the protected content is anything more than plain text. Design it once as a template, then drop it inside the Restrict Content widget wherever you need it.

Set the warning message #

When a visitor fails the rule, the widget shows a warning. You handle this in the Warning Message section. Set Message Type to:

  • Custom Message: write your own title and body text.
  • Elementor Template: load a saved template for a designed look.
  • None: hide the warning entirely.
Warning Message section with Custom Message type, Age Verification title, and permission message

The demo uses “Age Verification” as the title and “You don’t have permission to see this content.” as the message. You can also flip Show Warnings? and Close Button on or off. The close button matters most in popup mode, since it gives visitors a way to dismiss the prompt if they’d rather not proceed.

On-page vs popup display #

The first Restrict Type dropdown controls where the prompt lands. Pick On Page to embed the restriction box right in the page layout. Pick Popup to open it in a centered modal.

Restrict Type set to Popup with Password Based protection and Popup Settings section visible

On Page mode fits when the protected content is one piece of a normal section, like a members-only download box. Popup mode fits when you want to gate the whole page, like a full-screen age check before anyone sees the site.

Style the widget #

The Style tab is broken into sections that line up with the parts of the widget:

  • Restrict Content: color, background, margin, padding, and typography for the protected content area.
  • Message Contents: title color, description color, warning message background, padding, and margin.
  • Submit Button: button colors, typography, and spacing.
  • Error Message: text color and typography for failed attempts.
Style tab open on Restrict Content section showing color, background, padding, and typography controls

Use these to make the restriction prompt match the rest of your site. When the warning box uses your own colors and type, it reads as part of the page instead of a bolt-on.

The result on the live page #

Once the visitor passes the rule, the protected content shows up. In the demo, the plain text content appears on the front end the moment the correct input goes in.

Live page showing the unlocked protected content text after passing the restriction

Anyone who doesn’t meet the rule never sees it, so you can gate material without bolting on a separate membership plugin. Just keep the password caveat above in mind: this is page-level gating, not a login system.

Common use cases #

  • Membership areas: restrict downloads or pricing tables to logged-in subscribers with User Based mode.
  • Client portals: hide project files behind a password you share only with the client.
  • Age-gated products: use Age Restriction for alcohol, adult, or pharmaceutical content.
  • Contest entries: use Math Captcha to add a light gate to a giveaway.
  • Private course previews: show a lesson teaser to everyone and unlock the full video for enrolled students.

If your content flips between visible and hidden a lot, take a look at the Toggle Content widget for accordion-style reveal patterns too.

On Page Version for Restrict Content #

Popup Version for Restrict Content #

Frequently Asked Questions #

Can I restrict an Elementor section by user role?

Yes. Set the Restrict Content widget’s second Restrict Type dropdown to User Based, then select the WordPress roles that should see the content. Visitors without those roles get the warning message instead.

How do I password protect an Elementor section?

Drag the Restrict Content widget into the section, set the restriction type to Password Based, and enter a password in the Set Password field. Visitors have to enter that password before the protected content appears.

Does the widget support age verification?

Yes. Set the restriction type to Age Restriction, enter a minimum age, and choose Select Birthday or Math Captcha as the verification method.

What is the difference between On Page and Popup modes?

On Page embeds the restriction prompt inside the page layout where the widget sits. Popup opens the prompt as a modal overlay. Popup works well for full-page gates; On Page works well for section-level gates.

Can I use a saved Elementor template as the protected content?

Yes. In the Restrict Content section, set Select Source to Saved Section and choose any template from your Elementor library. You can use a saved template for the warning message too.

Wrapping up #

The Restrict Content widget gives you a few different ways to gate content in Elementor without extra plugins. User role protection, a password, age verification, a math captcha, it handles all of them inside the Elementor interface you already know. Browse the full set of Master Addons widgets and extensions to see what else is there, and check the pricing page for Pro features.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on July 5, 2026
Counter UpTable of Contents
Table of Contents
  • What the Restrict Content widget does
  • Before you start
  • Add the widget to your page
  • Restrict content by user role
  • Password protect an Elementor section
  • Add age verification in Elementor
  • Use math captcha to restrict content
  • Choose what to protect
  • Set the warning message
  • On-page vs popup display
  • Style the widget
  • The result on the live page
  • Common use cases
  • On Page Version for Restrict Content
  • Popup Version for Restrict Content
  • Frequently Asked Questions
    • Can I restrict an Elementor section by user role?
    • How do I password protect an Elementor section?
    • Does the widget support age verification?
    • What is the difference between On Page and Popup modes?
    • Can I use a saved Elementor template as the protected content?
  • Wrapping up

Join 40,000+ Web Creators Who Trust Master Addons

Get all the premium widgets and templates you desire, built with clean code that keeps your site fast. Ditch the bloat, not the features.

Try Live Demo
Join The Community
Master Addons for Elementor
Master Addons Logo

110+ Premium Widgets & Lifetime Updates – Build Beyond Limits. An Exclusive Creation by Pixar Labs

Facebook-f Twitter Youtube Wordpress
Features
  • Template kits
  • Template Library
  • Widget Builder
  • Theme Builder
  • Mega Menu Builder
  • Template kits
  • Template Library
  • Widget Builder
  • Theme Builder
  • Mega Menu Builder
Support
  • Support Forum
  • Contact US
  • Join Community
  • Blog
  • Support Forum
  • Contact US
  • Join Community
  • Blog
Resources
  • Apply For Affiliate
  • Documentation
  • Video Tutorials
  • My Account
  • Change Log
  • Apply For Affiliate
  • Documentation
  • Video Tutorials
  • My Account
  • Change Log
Navigate
  • Terms of Use
  • Refund Policy
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Privacy Policy