Relationships

Support General Relationships

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45435
    Mark DowdMark Dowd
    Participant

    I am building a DIVI WordPress site using Meta Box. I have created the following Custom Posts types:

    Series
    Episode
    Sponsors

    Host (WordPress Users)

    When I built the Custom Posts for a Series I created a custom fields to select the Host, sponsor and the Series from the other Custom Posts. For example if I am working on a new episode I have a POST field that let's me choose the series and a post field that let's me choose the sponsor. Etc

    Now that I am building a display page for that I am curious if that will work. The display page for:
    Podcast
    - will need to show data from series and host

    Series
    - will need to pull a list of episodes

    Any thoughts on the best way to build this out. I will be importing a lot of data once the structure is complete but need to make sure my design is right first.

    #45443
    PeterPeter
    Moderator

    Hello Mark,

    If you want to create nested relationships like this format: A > B > C ~ Series > Episode > Sponsor and display them in the frontend, you will need to create some nested WP Query. Please refer to this topic https://support.metabox.io/topic/displaying-2-custom-post-types-via-a-relationship-custom-post-type/#post-26821

    and documentation https://docs.metabox.io/extensions/mb-relationships/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.