Valentine's Day Sale Up to 20% Discount

Menu Close
Elementor unseen posts notification widget icon
2

What's New?

How to Show/Hide Element Based on User Role using Elementor Display Conditions

How to Show/Hide Element Based on User Role using Elementor Display Conditions

Building on Display Conditions feature in Premium Addons for Elementor plugin, this tutorial will show you how to display or hide Elementor content based on the user’s role. This enables you to customize visibility for different user roles in WordPress.


Requirements

  • You will need the Premium Addons free plugin installed and activated on your website.
  • Premium Addons works only with Elementor Page Builder plugin, so you will need to have it installed and activated as well.
  • Make sure to enable the Display Conditions feature. Check this article to know how to do that.

Enable Display Conditions Feature

Navigate to your Elementor element settings > Advanced tab > Display Conditions and switch “Enable Display Conditions” switcher.

Add The Dynamic Display Conditions

  • Action: Select whether you want to show or hide the element based on the selected display conditions.
  • Conditions: Here we will set the condition and set the values to compare to.
    • Type: Set the condition to Returned Visitor.
    • Is or Is Not: Choose the condition type.
    • Value: Chose the role you want to show or hide the content for.
Elementor Display Conditions based on user's role.
Elementor Display Conditions – User Role

That’s it!

Now you can control which elements to show or hide depending on the user’s role.

If you still need any further assistance, feel free to contact the Premium Addons support team. We would be more than glad to help. 😁

Join the Community

You’re most welcome to join our channels to get updates about new features, improvements, and bug fixes.

Premium Addons for Elementor plugin logo

Stay Updated

Subscribe to our newsletter to receive the latest updates and features.