Is it possible to make relation between the same posttypes?

Support MB Relationships Is it possible to make relation between the same posttypes?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36801
    info@ceescoenen.nl[email protected]
    Participant

    Hi,

    I have make a CPT routes. I will make a relation between routes. My idea is to add a taxonomy 'type' with term 'route' and 'etappe'. One route could be on his own or could be a relation two 1,2,3 or more etappes.

    Is this possible? Now it shows 'connected from' and 'connected to' on a post.

    #36806
    Long NguyenLong Nguyen
    Moderator

    Hi Cees,

    It is possible. And to avoid displaying two meta boxes on a post, please use the setting reciprocal. There is a note in the documentation about this case https://docs.metabox.io/extensions/mb-relationships/#using-meta-box-builder

    #36807
    info@ceescoenen.nl[email protected]
    Participant

    Hi Long,

    That is the only thing I have to change? No args or something?

    #36812
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Yes, just one setting reciprocal as on the documentation.

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