sandywp / plugins / dynamicconditions

Dynamic Conditions

4.8 out of 5 stars. 4.8 114 reviews

Activates conditions for dynamic tags to show/hide a widget or section.

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

v1.7.5 60,000+ installs WP 5.0+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
Dynamic Conditions running inside a SandyWP sandbox

What you get inside

1 screen
  • Widget options for conditions

About this plugin

Dynamic Conditions is an Elementor addon that adds conditional logic to show or hide different elements. The plugin adds conditions to dynamic tags to show/hide a widget or section.

The plugin requires Elementor Pro since it uses Dynamic Tags to set the comparison conditions.

Setting display conditions is easy! Just enter the condition value and compare it to any dynamic tag. If the condition is met, set whether you want to show or hide the element. Can it be more simple?

Advanced users can set complex conditions – you can check if a field is empty, if it contains some value, if it equals a value, greater/smaller or between a certain value.

Special thanks to WPTuts for making a nice video tutorial:

You can support development by contributing to the plugin´s GitHub repository:

Github Dynamic Conditions

Usage

  1. Select a widget or a section.
  2. Go to the Advanced tab.
  3. Click the Dynamic Conditions area.
  4. Set the “Dynamic Tag” field you want to compare to.
  5. Set whether you want to “Show/Hide” the element if the condition is met.
  6. Under the “Condition” field, select what you wish to compare. You can compare whether the field is empty/not-empty, check if it has a specific value or if its value is between two other values.
  7. The “Compare Type” field defines what type of fields do you want to compare. Default compares two strings (text). But if you want to show a widget/section only on Monday or only in December, you can select Days or Month as Compare-Type.
  8. At last you have to enter the value to compare the dynamic-field with. Or two values, if you have selected the “between” condition.

Questions

Can I use custom-fields, ACF fields, Pods?

Yes, all the above are supported and many others supported out-of-the-box by Elementor Pro.

Can I set date based conditions?

Yes, the plugin supports date based conditions, for example current-date or post-date. You can compare dates, days and months.

Can I show/hide elements for logged-in or logged-out users?

Yes, you can set display conditions for logged in or logged out users. Selecting the “user information” dynamic-tag, and set it to “user ID”. Now check if it is empty or not.

Are my elements only hidden or fully removed?

The elements will be fully removed from source code, like they are not existing.
Only if you use the experts options to hide also wrappers or other elements, they will only be hidden with css.

I´m missing some dynamic tags

We have developed an other plugin which provides some useful tags.
You can find it here:
DynamicTags

4.8

114 reviews

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

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

sandywp / also on the shelf

Try another plugin

  • Complianz – Terms and Conditions

    4.9 · 300K+ installs

    Configure your own Terms and Conditions specific to your service or webshop.

  • Agreeable

    3.9 · 800+ installs

    Add an "Agree to terms" check box on login, registration, or comment forms. Works with BuddyPress, bbPress and MultiSite.

  • LH Agree to Terms

    5.0 · 800+ installs

    Add a HTML5 "Agree to terms" check box on login or registration forms.

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.