Home › Forums › General Issues › Best way to use ACF in Artist/Artworks relationship › Reply To: Best way to use ACF in Artist/Artworks relationship
If I needed to do something like this a couple of options come to mind.
One option would be to use a hierarchical post type for the work. The parent post would be used for the “Series” and then child posts would be used for each item in the series. The you relate the artist to the series.
Another option would be to use a 3rd post type for the series. You relate the artist post type to the series and you relate each item to the series.
A third option would be to use a custom taxonomy for the series.
Another options would be to build the custom code needed to create a bidirectional field for this specific use that would work in a repeater, but this one would be my last choice.
Each of the above have their pros and cons and I would choose base on the end result I needed. How do these things need to be shown on the site? Do they need to be searchable? How? etc… The second option probably would give the most flexibility.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.