• Hi,

    I am trying to create a custom query (with the tuto of?brickslabs)
    I have a custom post : member ; order and training linked like this :
    CPT member <–> CPT Order <–> CPT Training
    I have a MB relationship ‘member-order’ and ‘order-training’
    I would like to list all the training that are followed by the member display (get_the_ID())?

    I read the documentation of Metabox Relationship : https://docs.metabox.io/extensions/mb-relationships/#query-by-multiple-relationships

    But couldn’t make it work. And I don’t know how I can specify that I want to display the trainings post-type.

    So in each single page of a member, I can display all his trainings (in a second time, I would like to filter according to custom fields in the order’s post (like “paid” or “followed and success”)

    Have you an idea ? Thank you so much !

  • The topic ‘WP_Query posts linked 2 relationships away’ is closed to new replies.