HOW-TO Question: Code for default MB-generated query loop in the Bricks Builder

Support MB Relationships HOW-TO Question: Code for default MB-generated query loop in the Bricks Builder

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42344
    Michael KernMichael Kern
    Participant

    Hey all,

    I noticed that the native Bricks query loop option generated by Metabox works both ways (e.g. works on both the TO and FROM CPT templates).

    However, when I use a custom query, I need to make two WP_Queries: one for TO and one for FROM, and these would appear as two separate queries in the Bricks Builder Query Loop dropdown.

    What I am trying to achieve is a single option in the Bricks Builder Query Loop Dropdown that queries the relationship both ways in the same exact manner that the default Metabox-generated query does.

    Is there code somewhere that shows what the default query looks like so I can apply the same code to my custom WP_Queries so I can use them with one option in the builder instead of two separate options?

    Hope this makes sense.

    #42372
    PeterPeter
    Moderator

    Hello,

    Bricks builder team maintains compatibility with Meta Box. So please reach out to them if you have any issues with installation, configuration, compatibility, or usage.
    Refer to our support policy https://metabox.io/support/topic/support-policy/

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