Support

Account

Home Forums General Issues Set Featured Image as Featured Image of Relationship Post

Helping

Set Featured Image as Featured Image of Relationship Post

  • Hi,

    My setup is as follows:

    – A Custom Post Type called ‘Collections’
    – With a Relationship Field called add_to_collection that can add 5 other Custom Post Types (fan_art, cosplay, fan_fiction, music, video_content)
    – On each of the other Custom Post Types is a corresponding Relationship field, also called add_to_collection
    – They’re bi-directional using that feature from ACF Extended
    – All of the Relationship fields have a Return Format of Post ID

    The idea is users can create a ‘Collection’, which is a custom selection of Fan Art, Cosplay, Fan Fiction, Music and Videos. I want the featured image of a Collection to be dynamically pulled from any of the custom post types within the collection, preferably the latest one to be added. So if a certain Fan Art post was the latest post to be added to a Collection, the Collection’s featured image is dynamically changed to that Fan Art’s featured image.

    Is this possible, and what’s the best way to achieve it? Thanks.

    —- Versions —-
    ACF v5.8.7 (PRO)
    WP v5.3.2

  • Anyone have any thoughts on this please? Thanks.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Set Featured Image as Featured Image of Relationship Post’ is closed to new replies.