sandywp / plugins / ele-conditions

Ele Conditions for Elementor

4.2 out of 5 stars. 4.2 5 reviews

Add interactive triggers and conditional display logic to any Elementor element — show, hide, toggle on click, scroll, exit intent, and more.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v2.0.0 3,000+ installs WP 5.9+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
Ele Conditions for Elementor running inside a SandyWP sandbox

What you get inside

3 screens
  • Triggers panel in Elementor Advanced tab — add a trigger with one click: choose trigger type (Click, Scroll into view, Exit intent…) and action (Show, Hide,…

  • Multiple triggers on the same element — combine scroll_into_view → show with exit_intent → add_class for layered interactions.

  • Display Conditions panel — variable comparison conditions with Variable, Operator, and Value; Debug mode toggle included.

About this plugin

Ele Conditions for Elementor turns static Elementor elements into interactive, context-aware components — without writing a single line of code.

There are two independent systems, both accessible from the Advanced tab of any widget, section, or container:

⚡ Triggers & Actions (client-side, no page reload)

Attach one or more trigger → action pairs to any element.

10 trigger types:

  • Click — user clicks the element
  • Hover — user hovers over the element
  • Delay on load — fires after X milliseconds from page load
  • Scroll into view — fires once when the element enters the viewport
  • Time on page — fires after X seconds the visitor has been on the page
  • Exit intent — fires when the cursor moves toward closing the tab
  • First visit — fires only on the visitor’s very first page load (localStorage)
  • Nth visit — fires on the Nth page load (visit counter in localStorage)
  • A/B Group A / B — fires for visitors randomly assigned to group A or B (persists via localStorage)

9 action types:

  • Show — make the target element visible
  • Hide — hide the target element
  • Toggle — toggle visibility on each trigger
  • Add / Remove / Toggle Class — apply a CSS class (great for CSS animations)
  • Scroll To — smooth-scroll the page to the target element
  • Focus — set browser focus on the target (input fields, etc.)
  • Close Others in Group — hide all siblings sharing a CSS class (accordion pattern)

Target selector: leave empty to act on the element itself, or enter any CSS selector to act on another element anywhere on the page.

Hide Initially: a dedicated switcher that hides the element on load independently of triggers — useful for elements revealed by a trigger.

🎛 Display Conditions (server-side, evaluated at render time)

Show or hide elements based on variables, rules, and time windows. Multiple conditions per element with AND / OR logic.

Built-in variables include: user_role, is_logged_in, user_id, post_type, post_status, post_age_days, post_word_count, post_has_thumbnail, cart_count, cart_total, current_hour, current_day, current_month, current_year, utm_source, utm_medium, utm_campaign, utm_content, utm_term, and more.

Condition types:

  • Simple — compare a variable to a value using ==, !=, >, <, >=, <=, contains, starts_with, ends_with, empty, not_empty
  • Time interval — show element only between two times of day (supports cross-midnight ranges)
  • Date/datetime interval — show element only within a date or datetime window

Custom variables — register your own variables via the eleconditions_vars filter in your theme’s functions.php.

ACF support — pick any ACF field from a searchable dropdown; the value is fetched at render time.

User meta — condition on any WordPress user meta key for the current visitor.

Debug mode — shows a red-bordered overlay with the evaluated variable values, visible only to editors and administrators.

Developer-friendly

  • Zero dependencies beyond Elementor
  • Fully filterable variable system
  • No inline styles injected into saved content — everything is evaluated at render

Note: Requires the free Elementor plugin.

Questions

Where do I find the Triggers panel?

Open any widget or section in Elementor, go to the Advanced tab, and scroll to the Triggers section.

Where do I find the Display Conditions panel?

Same Advanced tab, scroll to the Ele Conditions section — just above Triggers.

Can I trigger an action on a different element?

Yes. Enter a CSS selector in the Target field (e.g. .my-popup or #hero-button). Leave it empty to target the element itself.

How does A/B testing work?

On first page load the visitor is randomly assigned to group A or B. That assignment is saved in localStorage and stays consistent across sessions. Use A/B Group A and A/B Group B triggers on different elements to show different content to each group.

How do I add my own variables?

Add a filter in your theme’s functions.php:

add_filter( 'eleconditions_vars', function( $vars ) { $vars['my_var'] = 'some_value'; return $vars; } );

Then select Custom in the variable dropdown and type my_var.

Does it work with Elementor containers (Flexbox)?

Yes — triggers and conditions work on widgets, sections, and containers.

Is there a performance impact?

Display conditions are evaluated server-side at render time — no JavaScript needed for them. The triggers script (triggers.js) is a single lightweight IIFE loaded in the footer only when needed.

4.2

5 reviews

  • 5 ★ 4
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 1

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.