Display up to 4 Advanced Custom Fields (ACF) fields in a single row on the front-end
在前端的单行中最多显示4个高级自定义字段(ACF)字段 h3>
Advanced Custom Fields: Multiple Fields per row, is an add-on to Advanced Custom Fields for showing multiple ACF fields in a single row.
高级自定义字段:每行多个字段是高级自定义字段的附加组件,用于在一行中显示多个ACF字段。
You can show up to four fields in a row.
您最多可以连续显示四个字段。
It is very helpful for managing form display layout as you desire.
根据需要管理表单显示布局非常有用。
Especially handy with 2x short fields or date fields next to each other.
尤其方便,两个短字段或日期字段彼此相邻。 p>
Note: Works up to ACF 4.4
注意 strong>:适用于ACF 4.4 p>Usage
用法 h4>
- Once activated, ‘Row’ field will now be available under the ‘Layout’ section in ACF field types
- 激活后,“行”字段现在将在ACF字段类型的“布局”部分下可用 li>
- Add ‘Row’ field in your field setting.
- 在字段设置中添加“行”字段。
Choose ‘Row Open’ option in ‘Type’ to start row
在“类型”中选择“行打开”选项以开始行 li>
- Choose the number of columns you would want
- 选择所需的列数 li>
- Add your fields below the ‘Row Open’ option
- 在“ Row Open”选项下添加字段 li>
- To end row, add ‘Row’ field.
- 要结束行,请添加“行”字段。
But this time choose ‘Row Close’ option in ‘Type’
但这一次在“类型”中选择“行关闭”选项 li>
ol>
Changes
更改 h3>
1.0.72
1.0.72 h4>
16/10/2017
2017年10月16日
* Fixed https://wordpress.org/support/topic/1-7-0-1-bug/
*修复了https://wordpress.org/support/topic/1-7-0-1-bug/ p>