I’ve got a post type ‘events’ and for each ‘event’ there can be videos and images, that are both also content types.
When someone calls up the page of an event, the videos and pictures associated with it should be displayed. So I have to connect each video and image to the event via the relationship field. I don’t want to use taxonomies.
What is now the right way for wp_query to filter the relationship field for the selected event? Can I just give the same key/name to the relationship field for both post types (video and image), or is the clone-field meant for that?
Viewing 1 post (of 1 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