Skip to main content
Black Friday Get 50% extra hosting credits. Pay $99, get $150. 50% extra credits 50% extra credits 1d 1h left Get $150 for $99Get it
Visibility Logic for Elementor icon

Visibility Logic for Elementor

v2.5.4
by StaxWP · 4.8 (58 reviews)

Show/hide Elementor widgets or sections based on user role, user meta, user logged in or not and many more.

20K+ active installs Updated Nov 25, 2026 Tested to 7.2 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card

About Visibility Logic for Elementor

The Elementor Visibility Restrict plugin allows you to show or hide widgets or sections based on various conditions such as user login status, user meta, day of the week, time of day, and browser type. The visibility settings only affect the frontend of your website, so you can still see all the widgets while editing in Elementor. There are also additional features available in the Pro version, including Geo Location, Dynamic conditions, WooCommerce and Easy Digital Downloads restrictions, and more.

Screenshots

Visibility Logic for Elementor screenshot
Visibility Logic for Elementor screenshot
Visibility Logic for Elementor screenshot
Visibility Logic for Elementor screenshot
Visibility Logic for Elementor screenshot
Visibility Logic for Elementor screenshot

Frequently asked questions

What is Visibility Logic for Elementor?
Visibility Logic for Elementor is a WordPress plugin that allows you to show or hide Elementor widgets or sections based on various conditions. These conditions include user role, user meta, and whether the user is logged in or not.
What are some free features of the plugin?
Free features include Flex container visibility restrictions, user meta content restriction, content restriction based on user browser, and date & time restrictions for content. It can also hide a whole section if all widgets inside it are hidden.
What are some PRO features of the plugin?
PRO features include Geo Location restrictions, dynamic conditions based on Elementor Pro Dynamic tags, and restrictions for WooCommerce and Easy Digital Downloads users. It also offers advanced user meta, post & page, taxonomy, URL parameter content restriction, and IP & Referrer restrictions.
How do visibility settings affect the Elementor editor?
The visibility settings only affect widgets rendering in the frontend. While you are inside the Elementor editor, you will be able to see all of them.

Changelog

2.5.5

  • Security fix: with Elementor’s Agent Ready feature on (Markdown pages, llms-full.txt, the WebMCP read_page_content tool), the text of elements hidden by Visibility Logic, including everything inside a hidden section or container, could be read by anyone in those Markdown outputs. Elements with visibility rules are now left out of Elementor’s Markdown for every visitor, and Markdown that Elementor cached before this update is cleared once. The pages themselves are not changed. Please update.

2.5.4

  • Security fix: the text of an element hidden by Visibility Logic (for example shown to logged-in users only) could be read by anyone in the post excerpt: REST API, RSS and Atom feeds, search results. Elementor keeps a plain-text copy of every widget in the post content and WordPress builds the excerpt from that copy. Elements with visibility rules are now left out of the copy when the page is saved, and left out of automatic excerpts for every visitor, also on pages saved before this update. Hand-written excerpts and the pages themselves are not changed. To also take the hidden words out of the WordPress search of older pages, update those pages once in Elementor. Please update.

2.5.3

  • Security fix: with Fallback turned on (Visibility Logic Pro), a hidden section or container was shown in full to the visitors the rule should hide it from, and the fallback was not shown. Now the fallback replaces the whole element. Widgets were not affected. Please update.
  • Fix: opening a section in the Visibility tab of the Elementor panel (for example WooCommerce Users) no longer scrolls the panel back to the top; the opened section stays where you clicked it.

2.5.2

  • Fix: Date FROM and Date TO now use the site time zone (Settings > General), like the time of day and weekday options. Before, they were read as UTC, so a schedule started or ended early or late by the site’s offset from UTC. If you shifted your dates to work around this, set them back to the site time.
  • Fix: Hide when empty no longer hides a Flexbox container whose widgets are visible. Widgets placed directly in a container now count.
  • Fix: the User Meta key list keeps keys that start with an underscore (such as _my_field), so rules on these keys match. If a rule was saved with the key without its underscore, pick the key again.
  • Fix: a PHP 8.5 deprecation notice in the Date Time condition.

2.5.1

  • Fix: Corrected the Pro/admin URL used on the settings page.
  • Improved: Refreshed readme positioning around Display Conditions for Elementor, conditional display, user role, ACF, device, and membership visibility use cases.
  • Improved: Clarified installation steps for the free plugin and separate Visibility Logic Pro zip/license activation flow.

2.5.0

  • NEW: Device Type condition: show/hide elements for Desktop, Tablet, or Mobile (server-side User-Agent detection)
  • NEW: ACF Field condition: show/hide based on Advanced Custom Fields values on the current post/page with 7 operators: is empty, is not empty, equals, not equals, contains, is true, is false
  • Advanced ACF features available in Pro: user fields, repeater fields, options page, term meta, specific post/user sources, AND/OR logic with 17 operators

2.4.0

  • WordPress 6.9 compatibility
  • Elementor 3.35 compatibility
  • Fix: Replace deprecated current_time(‘timestamp’) with current_datetime()
  • Fix: Browser detection now properly detects Edge, iPhone and Android browsers
  • Fix: PHP 8.x warnings for undefined HTTP_USER_AGENT
  • Fix: PHP 8.x TypeError when using strpos() on non-string user meta values
  • Fix: Early translation loading notice on WordPress 6.7+
  • Improved: Minimum PHP version raised to 7.4

2.3.9

  • Fix compatibility with Elementor 3.12.0
  • Latest WordPress compatibility
  • Latest Elementor compatibility
  • Fix PHP noticies

2.3.6

  • Add compatibility with Elementor element caching experimental feature.
  • Other fixes and improvements.

2.3.5.1

  • Update readme.txt to include patchstack.com report bug link

2.3.5

  • Add extra security checks when saving plugin options.

2.3.4

  • Upgrade Appsero SDK

2.3.3

  • Fix Elementor deprecation warnings

2.3.2

  • Fix Datetime render

2.3.1

  • Add support for Elementor’s experimental containers

2.2.9

  • Fix user meta when selecting data from the user table; eq. email.

2.2.8

  • Fix require plugin message display in admin page

2.2.7

  • Register query control – use to register_control method for previuous Elementor versions compatibility.

2.2.6

  • Fix state markers for applied options in Elementor editor
  • Add support for new Pro options

2.2.5

  • Fix css render for hiding sections

2.2.4

  • Added new variation for Date & Time option – Weeks Days + Time
  • Fixed a bug on Date & Time option where server time was not fetch correctly. fixed date-time condition over midnight
  • Tested on WP 5.9
  • Improved admin UI

2.2.3

  • Fix error when using Elementor version older than 3.3.0

2.2.2

  • New Section option: Hide section when all the widgets inside it are hidden
  • Fix printed styles for hidden elements of the same type.

2.2.1

  • Added extra compatibility with Visibility Logic Pro older versions

2.2.0

  • Added Enabled/Disabled icons on all sections to inside Stax Visibility tab to see at a glance which options are in use.
  • Added Dynamic conditions based on all Elementor Pro Dynamic tags (in PRO version)

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

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…

$750 of hosting credits for $499.Black Friday