Hey guys,
I am a newbie to ACF, so please bear with me.
A client had a developer create a website for them and I was asked to make some modifications. The website uses ACF. ACF was used on the contact page to lump all 6 of the companies locations into one field group. The client said it looks messy and asked me to split them into 2 field groups.
I thought it would be as easy as duplicating the first field group then removing half from each. Then I learned very quickly that I need to change the field names (I didn’t change the labels) in the second field group but even when I do, the second field group still doesn’t show on the page.
What am I missing please? All I’ve done is duplicate and change field names, is there anything else I need to do?
Are you talking messy on the page in the admin or messy on the front end of a site.
You cannot change the field names in ACF, doing so will loose any data that was saved. Also the field keys must be the same.
You can’t “duplicate” a field group, this changes the field keys and duplicates the field names. Field names must be unique.
The way to move fields from one group to another is to create an empty field group and save it and then edit the original group and use the “move” option for each field to move it to the new group.