這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Elementor Element Condition

外掛說明

This plugin adds the ability to add conditions to sections and widgets in order to be shown or not.

You can add your own values in your function.php using add_filter().

This plugin is currently pretty basic, you can only use only 2 operands (variables) and one operator (the stuff beetwen to values in a condition). No brackets and no AND / OR operators for now.

The Custom Fields are preloaded in plugin, so all you need is to enter the slug and it will work. If you’re not sure they work please check Debug mode and the variable should be replaced with the value.

The Condition field can be found in last section in Style tab of a widget.

For more details and examples check our official site https://www.eletemplator.com/

Note: This plugin is an addon of Elementor Page Builder (https://wordpress.org/plugins/elementor/) and will only work with Elementor Page Builder installed.

螢幕擷圖

  • /assets/screenshot-1.png

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題集

I quit is too complicated! Is there a documentation for this?

Indeed the plugin is more dev oriented, that means it has a learning curve to it. On the other side you can achieve pretty much everything you need with it. For questions and examples please refer to https://www.eletemplator.com/ and search for the plugin.

Where can I find the Condition field?

The Condition field can be found in last section in Style tab of a widget.

Can I use complex conditions?

No. For the moment you can only do a basic condition with 2 operands and 1 comparison operator.

使用者評論

2019 年 8 月 9 日 1 則留言
No documentation to even understand what it is that you need to do with this plugin. (Will the element be shown or hidden when the conditions are met? Not even the most basic of questions are answered.) The filter eleconditions_vars is never called, so I can’t add any condition. If I try to use the meta fields (are these added automatically? Not explained), the element is always shown. Not working at all.
2018 年 8 月 14 日
This is a great addition to Elementor that you should consider to use. I had a problem after an Elementor upgrade and the developer of Elementor Element Condition responded quickly and provided a solution and updated version very quickly. This plugin and especially the developer, Liviu Duda, are Highly recommended. JJ
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Elementor Element Condition〉的開發相關工作。

參與者

〈Elementor Element Condition〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Elementor Element Condition〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.5

  • Now it set the value of variabile to 0 if is compared to a number.

1.0.4

  • Fixed bugs.

1.0.3

  • Fix notice errors.
  • Works with var == null when variable doesn’t have value.

1.0.2

  • Fix sections with the latest Elementor version.
  • Hide the widget wrapper.
  • Debug mode will show a semi-opaque, bordered in red, content for editors and administrators.

1.0.1

  • Added debug mode – seen only by admin and editor
  • Fix by @hakkow to work with sections

1.0.0

  • Initial Launch