WordPress plugin
Visibility Logic Pro
Visibility Logic Pro includes show conditions to Elementor widgets, sections, and containers without requiring code. Use rules for member-only sections, scheduled sale or event content, pages personalized with stored data, layouts that vary by device, or region-specific information.
Set a visibility rule in Elementor
Visibility Logic Pro includes show conditions to Elementor widgets, sections, and containers without requiring code. Use rules for member-only sections, scheduled sale or event content, pages personalized with stored data, layouts that vary by device, or region-specific information.
- Install the extension and edit a page with Elementor.
- Select a widget, section, or container. Open the Visibility tab, or go to Advanced > Visibility Control.
- Enable Visibility Logic, select a condition, configure its rule, and save the page.
The element is then shown or hidden on the live site according to the configured options. You can copy and paste visibility settings between widgets or sections. The add-on works with Elementor Flexbox containers, classic sections, nested containers, and widgets.
Choose conditions for visitors and page data
The Pro edition adds conditions for language, URL parameters, visitor location, dynamic data, ecommerce activity, post context, archives, IP addresses, and referrers. Language rules support WPML, Polylang, and TranslatePress. URL parameter conditions support repeaters and nine operators. Geolocation uses MaxMind to detect the visitor’s country. Dynamic Conditions can use Elementor Pro Dynamic Tags as visibility conditions.
- Commerce: WooCommerce rules can use order history, active subscriptions, or customer status. Easy Digital Downloads rules support purchase history and subscription status.
- Advanced ACF: Use repeater fields, options pages, term meta, user fields, and specific post or user sources. Combine conditions with AND/OR logic and 17 operators.
- Advanced user meta: Combine multiple user meta conditions with AND/OR logic.
- Post and archive context: Target post types, specific pages, taxonomy terms, post type archives, and taxonomy archives.
- Other rules: Use IP addresses, referral sources, or WordPress conditional tags as visibility conditions.
Choose what happens when an element is hidden
By default, a hidden element is removed from the HTML. Enable Keep HTML / Hide by CSS to leave its markup in the document. Fallback content can replace a hidden element with a custom text message or an Elementor template.
Hide When Empty can hide a parent section or container when visibility conditions have hidden all of its child widgets. This helps keep layouts containing optional or audience-specific blocks compact.
Check caching for user-specific rules
Visibility conditions are processed server-side during page rendering. If a page uses user-specific conditions with a full-page caching plugin, exclude that page from the cache or use Keep HTML / Hide by CSS with client-side cache.
