Search
Close this search box.

How to Hide a Section by User Role in Elementor

Recently, Brizy has just released a new feature to allow users to hide a section (called block in Brizy) by certain parameters, including user role. Thanks to this feature, Brizy users are able to create a membership website without installing an additional plugin. You can read our previous article to learn more. By far, the same feature is not available in Elementor yet. If you want to accomplish the same thing in Elementor, you can use Happy Addons. It is an Elementor add-on that has the capability to hide an Elementor section, column, and widget by certain parameters, including user role.

Hiding an Elementor section or more is great for some scenarios. For instance, you can implement it to show content only to users with certain roles (e.g., administrator and editor only). In addition to displaying a section by user role, Happy Addons is also capable of hiding section by operating system, browser, login status, date range, and specific date.

How to Hide a Section by User Role in Elementor Using Happy Addons

Happy Addons is a freemium add-on. To be able to hide a section you need to use the pro version as the feature to do so is only available on Happy Addons Pro. You can download the pro version of Happy Addons on its official website. Install and activate the plugin once downloaded.

Once you are ready, edit your page with Elementor. On the Elementor editor, specify a section you want to hide and click the handle to turn the section into an existing mode (you can also use Elementor’s Navigator to ease your job).

On the settings panel, go to the Advanced tab and open the Happy Features block. Enable the Display Condition option. Since you want to hide the section, set to Hide Element on the To option. On the When option, set when you want to apply the conditions. There are two options you can set:

  • All Conditions Met: If you want to add multiple conditions, you can select this option to hide the section when all conditions are fulfilled.
  • Any Condition Met: If you want to add multiple conditions, you can select this option to hide the section when one of the conditions is fulfilled.

Open the existing display condition and change to User Role and set the role you want hide the section from. If you want to add more display conditions, you can simply click the ADD ITEM button.

That’s all. You can update your page once you are done editing it.

This page may contain affiliate links, which help support our project. Read our affiliate disclosure.
Picture of Editorial Staff

Editorial Staff

WordPress page builder tutorials, tips, and resources
Want to turn your WordPress knowledge into revenue? OF COURSE!

Leave a Comment

Share This
Haven’t used Elementor Pro yet?
Hey 👋🏻
Do you have a WP blog?
If so, you may need these. All the resources you need to grow your blog.

Your popup content goes here

50%

Where should we send the template?

After entering your email address, you will be added to our newsletter subscribers. You can unsubscribe anytime.

Want to Build Passive Income Like the One on the Screenshot Below?

Click the button on the right side to learn how 👉🏻
5 easy steps to turn your WordPress knowledge into monthly recurring revenue.

Click the above button to close the popup.