Support

Account

Home Forums General Issues Attach a single relationship field to multiple post types

Unread

Attach a single relationship field to multiple post types

  • 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?

    Thanks!

Viewing 1 post (of 1 total)

The topic ‘Attach a single relationship field to multiple post types’ is closed to new replies.