Meta Box in Bricks Builder - Use MB Field Group on another page

Support MB Custom Post Type Meta Box in Bricks Builder - Use MB Field Group on another pageResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41074
    AFWERXAFWERX
    Participant

    I have a Field Group that I use to populate a custom post type called "Divisions". I have a Bricks template I use for all but one of the divisions. For that one division, I need to use the data on a single page (the home page, in this case).

    Is there something I can add to the Bricks page to query a specific Field Group ID so that the fields are available to the Bricks query builder on just that one page?

    #41088
    PeterPeter
    Moderator

    Hello,

    If the Bricks builder supports using the PHP code, you can use the helper function rwmb_meta() to get a field value from a specific page/post by passing the post ID to the third parameter. Please read more on the documentation https://docs.metabox.io/functions/rwmb-meta/

    #41120
    AFWERXAFWERX
    Participant

    Thank you. I had seen that, but just hadn't been able to wrap my head around it. I was able to create a custom function in Bricks to output the info using this. Works great. Much appreciated.

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