Do nested Oxygen repeaters work with Meta Box?

Support General Do nested Oxygen repeaters work with Meta Box?Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34424
    GlennGlenn
    Participant

    Hi,

    First off Oxygen 3.9.1 and latest MB installed.

    I have a page with a repeater pulling 5 custom fields using Meta Box. One of the custom fields is actually a relationship and while I can get MB to drop in a shortcode with list (of active links) of the relationship, that's not ideal (otherwise I just URLs or Obj IDs). I tried dropping in another repeater and pulling out the relationship into a text field and that worked. However... lets say I have a top level repeater, then 2 dynamic fields, then a nested repeater (containing 1 dynamic field), then 2 more dynamic fields from the top-level repeater... This displays fine in the oxygen builder but won't render the last 2 dynamic data fields on the front end - they appear empty. In the builder with the top-level repeater set to "normal mode" you can see everything fine (i.e. it displays all of my post type "X" with everything correct). Any idea why this wouldn't render on the front-end but does on the backend?

    Thanks,
    Glenn

    #34427
    GlennGlenn
    Participant

    FYI, I have a work-around. By saving the post ID before in a code block and redoing the wp_query for just that post after the nested repeater, the missing fields are now displayed.

    #34441
    Long NguyenLong Nguyen
    Moderator

    Thanks for sharing your solution.

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