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
      Floating Effects PRO
      Mega Menu HOT
      Custom CSS HOT
      Gradient Headline
      Advanced Image
      Nav Menu
      Tooltips
      Comparison Table PRO
      Glassmorphism
      Featured Product PRO
      Image Carousel
      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.

      Elementor Page Templates

      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

      WP Adminify

      Take control of your WordPress dashboard. Customize the admin experience.
      Admin Bar Editor

      Admin Bar Editor

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

      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

      Master Blocks

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

      WP Spotlight

      Instantly search and access admin features, posts, and settings from anywhere.
  • Themes
  • Help
    • Get Support
    • Documentation
    • Facebook Community
    • Changelogs
  • Blog
Pricing
🇺🇸EN
  • 🇺🇸EN
  • 🇸🇦AR
  • 🇧🇩BN
  • 🇩🇰DA
  • 🇩🇪DE
  • 🇪🇸ES
  • 🇫🇷FR
  • 🇮🇳HI
  • 🇰🇷KO
  • 🇵🇹PT
  • 🇷🇺RU
  • 🇨🇳ZH

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

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

Extensions

  • Icon Library Settings
  • Mega Menu Settings
  • Which Element Extension Settings
  • Post/Page Duplicator Extension Settings
  • Grid Line Extension Settings
  • Glassmorphism Extension Settings
  • Tooltip Extension Settings
  • Wrapper Link Settings
  • Floating Effects Extension Settings
  • Dynamic Tags Settings
  • Display Conditions Extension Settings
  • Entrance Animation Settings
  • Custom Breakpoints Settings
  • Animated Gradient BG Extension Settings
  • Reveal Extension Settings
  • Particles Extension Settings
  • Background Slider Extension Settings
  • Transforms Extension Settings
  • Rellax Extension Settings
  • Positioning Extension Settings
  • Custom CSS Settings

Widget Builder

  • Conditions
  • Twig Syntax
  • Settings Panel Introduction
  • Divider
  • Text Shadow
  • Select2
  • Border
  • Heading
  • Tabs
  • Repeater
  • Visual Choice
  • Background
  • Dimensions
  • Box Shadow
  • Slider
  • Icons
  • Gallery
  • Media
  • Popover Toggle
  • URL Field
  • Date Time
  • Typography
  • Font
  • Color Field
  • Choose
  • Select
  • Switcher
  • Hidden
  • Code
  • WYSIWYG
  • Textarea Field
  • Number
  • 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 Settings

Restrict Content Settings

Roy Jemee
Updated on September 16, 2026

7 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 Pro 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.
  • A Master Addons Pro license, with 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. Use it with the On Page layout, which is the only combination that keeps the content off the page for visitors without the role. 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, and both the password and the content are in the page source, so treat it as a light gate for teasers rather than protection for private material.

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.
  • Enter Age, Checkbox or Submit Confirm: visitors type their age, tick a confirmation box, or click a confirm button.
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 as an age notice. A checkbox or confirm button is quicker when a simple acknowledgement is enough. 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 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.”
  • Elementor Template: load a saved section, widget or page 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 a User Based rule never receives it. The password, age and captcha gates only hide the content in the browser, so keep them for material that is fine to be public.

Common use cases #

  • Membership areas: restrict downloads or pricing tables to logged-in subscribers with User Based mode.
  • Client portals: give each client a WordPress account and role, then use User Based mode.
  • 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 you only need visitors to switch between two versions of a section, look at the Toggle Content widget instead. It swaps content on click and does not restrict anyone.

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 content appears. The password and content are still in the page source, so use User Based mode for anything private.

Does the widget support age verification?

Yes. Set the restriction type to Age Restriction, enter a minimum age, and choose Select Birthday, Enter Age, Checkbox or Submit Confirm 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 age notices, and On Page with User Based is the choice for role-only content.

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

Yes. In the Restrict Content section, set Select Source to Elementor Template and choose a saved section, widget or page. 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 September 16, 2026
Counter Up Widget SettingsTable of Contents Widget Settings
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 30,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

80+ 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
Support
  • Support Forum
  • Contact US
  • Join Community
  • Blog
  • Video Reviews
Resources
  • My Account
  • Changlogs
  • Documentation
  • Video Tutorials
  • Toolz.dev
Navigate
  • Apply for Affiliate
  • Terms of Use
  • Refund Policy
  • Privacy Policy
  • About Us