最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

ACF Plugin How to make the customer add more fields in the post?

programmeradmin1浏览0评论

Example: I created a field with the name, "my-field", there can add it on the post, with a button "add another item" is that I want to create a list with several items, we only need to create multiple fields thus the client how they want to add.

Further explained: I created a "Text" field in the "Advanced Custom Fields" to Custom Post Type: "tariff", the field is for notes, example of how it would look on the panel:

Remarks: 1 - Note 1 | + add one more observation

Then the customer clicked on "+ add one more observation" to automatically add a new field.

Example: I created a field with the name, "my-field", there can add it on the post, with a button "add another item" is that I want to create a list with several items, we only need to create multiple fields thus the client how they want to add.

Further explained: I created a "Text" field in the "Advanced Custom Fields" to Custom Post Type: "tariff", the field is for notes, example of how it would look on the panel:

Remarks: 1 - Note 1 | + add one more observation

Then the customer clicked on "+ add one more observation" to automatically add a new field.

Share Improve this question asked May 24, 2013 at 15:30 RaankRaank 3341 gold badge4 silver badges10 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

This is what the Repeater Add-on for ACF is for:

The Repeater field acts as a table of data where you can define the columns (sub fields) and add infinite rows.

Unfortunately it's not free, but the one license fee covers you for infinite number of installs on multiple sites.

发布评论

评论列表(0)

  1. 暂无评论