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).
- Upload the
acf-columnsfolder to your
- Activate the plugin through the ‘Plugins’ menu in WordPress
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.
Contributors & Developers
“ACF Columns” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:Contributors
- Minor CSS changes
- Added support for RTL languages
- Added compatibility for ACF 5.7 and newer
- 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
- Initial release of this plugin, tested and stable.