Visibility Logic for Elementor

Description

Hide or show an Elementor widget based on whether a user is logged in, logged out (guest) or a specific role.
You can also hide an entire section too or show it just for specific users.

Based on your visibility setting for each widget you can restrict rendering elements on front-end, meaning that you can hide or show any Elementor widget based on the user role(Subscriber, Author, Administrator, etc), if the user is Logged our or if the user is Logged in.

Other restriction options to come. Suggestions are welcomed.

Here is how you will find the Elementor visibility restrict settings:
1. Open a page with Elementor
2. Go and select any widget from the page
3. Go to Advanced – Visibility control
4. Here you will find the restriction settings for your element.

Screenshots

  • Advanced - Visibility control settings - Show for users
  • Advanced - Visibility control settings - Hide for users

Installation

  1. Upload the plugin to your ‘wp-content/plugins’ directory
  2. Activate the plugin
  3. Edit a page using Elementor
  4. Select an existing element or add a new one.
  5. Go to Advanced – Visibility control
  6. Enable conditions and set your restrictions for the Elementor widget
  7. That is it 🙂

Reviews

October 10, 2020
Love your plugin but please consider adding Hide/Show function to single columns. Just a thought.
July 13, 2020
This is exactly the kind of content restriction I was hoping for with Elementor without needing to incorporate an entire membership plugin. I can add the roles with a role editor plugin and then control content visibility with this. Possible feature suggestion: it could be good to have the option of showing some sort of an access denied message or template.
Read all 31 reviews

Contributors & Developers

“Visibility Logic for Elementor” is open source software. The following people have contributed to this plugin.

Contributors

“Visibility Logic for Elementor” has been translated into 7 locales. Thank you to the translators for their contributions.

Translate “Visibility Logic for Elementor” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.0

  • Fixed the edge case when you combined hidding elements for guests and user role

1.1.0

  • Made the selectors full width since there was a bug with Select2 control

1.0.4

  • Made changes to the hiding logic and the element is fully hidden, no extra empty wrapping divs shown

1.0.3

  • Visibility settings added for Section

1.0.2

  • Added translation pot file

1.0.0

  • Initial release

Be a contributor

If you want to contribute, go to our GitHub Repository.

You can also add a new language via translate.wordpress.org.