Restricting content on your website is a great way to only let authorized users access premium or special content. It prevents regular site visitors and unauthorized users from accessing your content without paying (or registering) first.
However, with default WordPress, you only get limited content restriction options. If you’re using a page builder like Elementor to design your site’s pages, you’ll need a content restriction plugin that’s compatible with it.
In this tutorial, we’ll show you how to restrict content on your WordPress site with Elementor using two robust content restriction plugins.
Why Restrict Content in WordPress?
Restricting content in WordPress is one way to let specific user roles on your site access content while hiding it from other user roles.
Here are some of the main reasons why restricting content in WordPress is useful:
- Offering premium content to specific user roles only. Restricting content by user role lets you offer premium content to specific user roles on your WordPress site. For instance, you can publish premium blog posts only for people with the “Subscriber” user role. This is also a great way to encourage regular users to subscribe and join your email list.
- Setting up different membership tiers. If your membership site offers multiple membership levels, you can use content restriction to prevent unauthorized users from accessing the content. You can offer your most valuable content to members who sign up for the highest membership tier. On the other hand, users who purchase the budget-friendly membership package will only get access to specific parts of your membership site.
- Creating private sections on your WordPress site (Staff Only Areas). Content restriction also helps you create private sections on your site. For instance, you can create a “Staff-Only” area where staff members can view their account information, the tasks assigned to them, and internal memos. You can then restrict the private page for regular site visitors.
Content restriction is used by all sorts of websites to offer exclusive content, create private web pages, or let clients access hidden areas on the site.
Who Needs Content Restriction?
Here are some types of WordPress sites that may find it useful to restrict content:
- Online stores. Online stores can restrict content to show or hide products from the shop pages for specific user roles only. This way, you can offer specific user roles on your site exclusive pricing deals or access to premium products. For instance, you can offer discounted pricing for specific products and only let wholesale customers add those products to their shopping carts.
- Membership websites. Restricting content by membership or subscription levels is a great way to increase registrations. This is because you make your membership content accessible to all types of users. You might even consider offering the entry-level membership plan for free to maximize registrations.
- Online photo/video galleries. If your WordPress site has a lot of photos or video-based content, you can restrict some parts of it and only let specific user roles on your site access them. This can help you “protect” the premium content you publish on your website and make the content creation process much more profitable for your business.
- University/school websites. School and university websites can restrict content that’s specific to enrolled students. This way, only registered students can access exclusive learning materials.
How to Quickly and Easily Restrict Content in Elementor
If you’re using the Elementor page builder in WordPress, you’ll need content restriction plugins that integrate seamlessly with it.
We recommend using the Profile Builder Pro and/or the Paid Member Subscriptions plugins to easily restrict content on your WordPress site with Elementor. Depending on your needs, you might only need one of these two plugins, but let me explain why.
Profile Builder Pro lets you create attractive, custom user registration and login forms, showcase registered users in a “users-list”, and restrict content by user role. The plugin is the perfect solution for anyone looking for a powerful form builder that lets you restrict content directly from the Elementor page customizer.
Profile Builder Pro
The best content restriction plugin for your WordPress site.Get the plugin
On the other hand, you can use the Paid Member Subscriptions plugin to set up your membership website and restrict content based on the subscription plan. As a result, you can quickly create a professional-looking membership website while still being able to use Elementor for the design side of things.
Paid Member Subscriptions Pro
The best WordPress plugin to restrict content in Elementor by subscription plan.Get the plugin
Here, we’ll show you how to restrict content in Elementor quickly and easily using both Profile Builder and Paid Member Subscriptions.
For this tutorial, you will need a WordPress site with the Elementor plugin installed and activated. Next, you’ll need Profile Builder Pro and/or Paid Member Subscriptions for setting up different content restriction options. Again, it’s up to you and your needs whether you end up using just one of the plugins or both.
Step #1: Install and Activate the Plugins on Your WordPress Site
Get Profile Builder
Start off by getting the Profile Builder plugin. If you want to test it out, you can get away with the free version of Profile Builder which is available for download at WordPress.org.
Then, whenever you’re ready to take things further, you can upgrade to the pro version.
After you get the plugin, you will receive an email containing the download link and the license key for your plugin. Alternatively, you can also find these on your own Account page.
Download the .zip file for the plugin and navigate to Plugins → Add New and click on the Upload Plugin button.
Click on the Install Now button. Once that’s done, hit Activate plugin to continue.
If you’re using Profile Builder Pro, navigate to Profile Builder → Register Version and enter the serial or license key provided to you at the time of purchase.
Once that’s done, click on the Save Changes button to continue.
Get Paid Member Subscriptions
If you’re only looking to test it out, you can get the free version of Paid Member Subscriptions which is available for download at WordPress.org. The basic content restriction function is included in the free version as well.
Then, you can upgrade to the pro version whenever you’re ready for extra functionalities.
After you get the plugin files, go to Plugins → Add New and upload them to the meta box. Activate the plugin once it’s done installing.
Go to Paid Member Subscriptions → Register Version and enter the serial key given to you if you purchased the plugin. Make sure to click on the Save Changes button to continue.
Step #2: Restrict Content by User Role
If you simply want to restrict content in Elementor by user role, you only need to get the Profile Builder plugin. It lets you prevent unauthorized users from accessing restricted content in Elementor.
Here’s what you need to do to set this up:
Navigate to the page or post you want to restrict content on and click on the Edit with Elementor button to open the Elementor page editor.
Now, hover your mouse over the part of the page you want to hide and click on the Edit Section button.
Click on the Advanced tab and expand the Profile Builder Content Restriction dropdown menu to restrict the section of the page by user role.
Using the Restrict by User Roles field, select the user roles you want to allow access to, and then click on the Update button. This will make that specific content only accessible to the user roles you’ve selected.
Alternatively, as you can see in the image above, Profile Builder also lets you easily restrict your Elementor content from all logged-out users or all logged-in users, regardless of their user roles. For this all you have to do is switch the Restrict to logged in users or Restrict to logged out users switcher to Yes.
Step #3: Restrict Content by Subscription Plan
If you’re running a membership site, you might want to restrict content in Elementor based on a subscription plan. This is possible with our Paid Member Subscriptions plugin.
If you use Paid Member Subscriptions to create subscription plans in WordPress, you’ll see an option to restrict content in Elementor by subscription plan.
From the same screen, you can also restrict content by subscription plan easily on your WordPress site. In the Advanced tab of the Edit Section screen, click on the Content Restriction dropdown menu to view more content restriction options.
Using the Restrict by Subscription Plans field, enter the allowed subscription plans that will have access to the content. All users who are not subscribed to the selected tiers will not be able to view that specific section of your site.
Once again, if you simply want to restrict your Elementor content from all logged out users, regardless of their subscription plan, you can simply switch the Restrict to logged in users option to Yes.
Once you’re done, make sure to click on the Update button for the changes to take effect on the front-end of your WordPress site.
👉 Check out our full tutorial on How to build an Elementor Membership Site with Paid Member Subscriptions for step-by-step instructions.
Restrict Content in Elementor Today!
If you’re looking to restrict content in Elementor, it’s better to use all-in-one plugins such as Profile Builder and the Paid Member Subscriptions.
Both plugins offer an easy and quick way to restrict content in Elementor by user role, logged-in status, or subscription plan. The best part is that you can restrict access to content directly from the Elementor page builder. This way, you can publish premium content on your WordPress pages and set content restriction options from the same page.
Ready to start restricting content quickly and easily in Elementor?
Or download the free versions right from the WordPress repository.
Then, you can check out our list of the best addons and plugins for Elementor sites to enhance your site even further.
Do you still have questions on how to restrict content in Elementor? Let us know in the comments below!
Subscribe to get early access
to new plugins, discounts and brief updates about what's new with Cozmoslabs!