Visibility Logic for Elementor

Description

Hide or show an Elementor widget based on whether a user is logged in, logged out (guest), has specific role, based on user meta, at specific dates or by the browser used.

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.

Note: Updating from older version 1.2.0 to 2.1.3 is safe and it will keep your initial settings. You can still access them from the Stax Visibility tab when editing an Elementor widget or section.

NEW Free Features

  • User Meta content restriction
  • Restrict content based on User Browser(Chrome, Mozilla, Safari, etc)
  • Date & Time restrictions for content

PRO Features

  • Post & Page, Taxonomy, URL Parameter content restriction
  • Archive restrictions based on Post types and taxonomies
  • IP & Referrer restrictions
  • WordPress Conditional Tags restrictions
  • Fallback – Allows you to show a message instead of hiding the element.

Find more about our Pro version.

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.

More from StaxWP

Check out BuddyBuilder plugin.
Create stunning communities on your site powered by Elementor and BuddyPress

Privacy Policy

We use Appsero SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster & make product improvements.

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

June 4, 2021
I used this plugin extensively across my site to make content for different user roles - but after the update all of the settings have been wiped and I have to redo everything. This is a HUGE problem. Why would you not migrate the settings? If you put out a fix I will update my rating.
June 2, 2021
After the update, all changes with the specific roles are deleted, i have to do all the work i have done once more!!! I have hide special widgets to show just for some roles, all deleted! I deleted the Plugin, never again this junk
Read all 47 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

2.1.7

  • Date and time conditions UI improvement to show current server time in editor

2.1.6

  • Fix Section restriction when used with Hide HTML option
  • Fix integration with Paid Memberships Pro plugin for section restrictions

2.1.5

  • Improved logic and fixed Condition type when set to “At least one” to match the restrictions

2.1.4

  • Improvement: Added AJAX control for User meta select to improve editor speed
  • Fix Fallback text so it shows correct escaped HTML

2.1.3

  • Moving from version 1.2.0 is won’t change anything on your site. We added safe fallback settings for older setting from v1. Old settings are now being taken into consideration and are available in the Widget settings. You can switch to nee new settings if you like or just leave those in place.

2.1.2

  • Added more User meta conditional operators
  • Added icon next to Widgets and Sections with conditions enabled in Elementor editor
  • Admin settings page improvements

2.1.1

  • Update migration logic to be less memory demanding

2.1.0

  • New free feature : User Meta content restriction
  • New free feature: Restrict content based on User Browser(Chrome, Mozilla, Safari, etc)
  • New free feature: Date & Time restrictions for content

2.0.3

  • Old settings migration logic update for inner elements.

2.0.2

  • Make the settings migration automatic on plugin update.

2.0.1

  • Fix PHP version compatibility in Updates logic

2.0.0

  • Code logic refactoring and introducing Pro features.

1.2.0

  • Fixed the edge case when you combined hiding 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.