Support

Account

Home Forums ACF PRO Need help understanding relationship field

Helping

Need help understanding relationship field

  • Lets consider this example

    I am trying to link 4 things

    Artwork
    Artists
    Collections
    Exhibitions

    Artwork belongs to an Artist and is a part of a Collection. Artwork is also up for sale in an exhibition.

    – Eg: Artwork1 by artist1 is in Collection 1 and is being sold in Exhibition 1
    – Eg: Artwork2 by artist1 is in Collection 1 and is being sold in Exhibition 1
    – Eg: Artwork3 by artist2 is in Collection 2 and is being sold in Exhibition 2

    Every artist has a page on which all the collections are listed with the collection permalink

    Eg: Artist 1’s page will show Collection 1 and Collection 2

    Every collection page will list the collection artworks.

    Eg: Collection 1’s page will show Artwork 1 and 2

    Every Exhibition page will list the artworks in the exhibition.

    Eg: Exhibition 1’s page will show Artwork 1 and 2

    What is the best way of using the relationship field or custom taxonomy to make this work?

  • Hi @yavisht,

    Thanks for the post.

    The simplest implementation of the Relationship field would be to create a relationship field for each of your pages and filter the post according to to the post type ie either Exhibition, Collection or artist.

    I hope this helps.

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

The topic ‘Need help understanding relationship field’ is closed to new replies.