I have 2 field groups, one for photos and one for people. I then have another field group for the relationship between people and photos called people_in_photo. This works fine and when I edit a photo, I see a list of all the people in the photo.
However, I need to store some other details along with the relationship for each person. If I was doing this in MySQL I would have a table called people_in_photo as follows;
Is there anyway along with the relationship (id’s) to add other fields?
My first approach with this was instead of using a relationship cpt, i’d use a repeater field in the photo table with a relationship pointer to the person and the other fields I need for each person. However, this approach was said to be wrong by other members of acf support.
I can’t see any other way though.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users