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

April 21, 2020
Saved my life as a theme didn't have support for the WooCommerce login/my-account buttons.
April 4, 2020
I own Sturm Media, a small website development and marketing company. I use many plugins for my clients and this one is great. I just used it on a membership site that needed a different console heading depending on user role. This worked fantastic! It is simple to use right within the Elementor advanced tab. I would highly recommend this plugin.
Read all 22 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.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.