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

ACF Columns

描述

With the ACF Columns plugin it is possible to arrange ACF fields in column groups in the post editor

Conditional Logic can now be used over different columns with the new ACF 5.7

For each column add a Column Field to your field group and define the width for this column. You can select between 1/2, 1/3, 1/4, etc. columns. To close a row you have to add a Column Field with the value ‘Reset’.

This plugin works only with the ACF PRO (version 5.4.0 or higher).

Localizations

  • English
  • Deutsch

螢幕截圖

  • Example for a field group with column fields. This field group ...
  • ... split the fields in two columns in page/post editor
  • Works in tabs as well

安裝

  1. Upload the acf-columns folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Done!

常見問題

ACF conditional logic doesn’t works across different columns

If you are using a ACF version prior to 5.7 you can’t use the ACF conditional logic on fields across different columns.

Unfortunately, the problem is how ACF uses conditional logic. Both of the conditional logic fields (the conditional logic field and the field containing the value for the logic) must have the same parent element in the DOM.

However, since the column plugin have to modify the DOM tree, so that the columns can be split, the conditional logic only works in one column.

評價

2018年3月26日
I actually tried to use this plugin but found it awkward and it broke the visual layout of the admin entry fields. Having said that, it is a creative use of ACF and does have numerous possibilities and I could see how this could work in the right circumstances. If the WordPress / ACF API did allow setting up rows with columns in the same manner as this plugin, it would be awesome. A good start!
閱讀全部9個評價

貢獻者及開發者

“ACF Columns” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

ACF Columns 外掛目前已有 6 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 ACF Columns 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

v1.2.2

  • Minor CSS changes

v1.2.1

  • Added support for RTL languages

v1.2.0

  • Added compatibility for ACF 5.7 and newer

v1.1.0

  • Added CSS styling to support the new ACF Accordion field type (new in ACF 5.6.6) in columns
  • Changed class name to prevent future conflicts with ACF

v1.0.0

  • Initial release of this plugin, tested and stable.