Dynamic Conditions WordPress 插件

Dynamic Conditions WordPress 插件

描述

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.

相关推荐

发表回复

房先生
我们将24小时内回复。
2024-09-18 17:03:02
您好,有任何疑问请与我们联系!
您的工单我们已经收到,我们将会尽快跟您联系!
[QQ客服]
2781198
加我微信
[电话联系]
13585372227
[电子邮件]
chaoneo@163.com
取消

选择聊天工具: