Support Forum » User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: ℹ️How to query related posts in a 3 way relationship #44692
    GlennGlenn
    Participant

    Hi Peter,

    Thanks for the prompt reply. I did have a look at that support article before I posted this and was hoping there might be another way but it seems there isn't. I'll probably go down a different route as this could be very inefficient as a project could potentially (albeit unlikely) be related to 9 services and 9 sectors resulting in 20 queries.

    I'm thinking I might just use taxonomies to achieve this. (Being a little lazy now) Is there a hook that can trigger when relationships are selected on the post ( that I could use to assign an identically named taxonomy ). I'm thinking I could then use something like BricksExtras "Related Posts" feature to quickly grab posts with matching taxonomies.

    Kind regards,
    Glenn

    GlennGlenn
    Participant

    Never mind... figured it out. Just needed to set $args['author'] to '*'
    All good.

    in reply to: Do nested Oxygen repeaters work with Meta Box? #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.

Viewing 3 posts - 1 through 3 (of 3 total)