Skip Navigation

[Resolved] Query for relationship with WP_Query

This support ticket is created 4 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 4 years, 6 months ago.

Assisted by: Christian Cox.

Author
Posts
#1362021

Hello,
i'm working on a website based on Oxygen builder and they have feature for repeater field that i think would be fit to display child element.. but at the moment they don't have native toolset integration instead giving WP Query feature.

I want to know, if child post (relationship) can be done via WP Query

Thanks

#1362115

Hi, yes we have some information about relationship queries with WP_Query here:
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/how-to-migrate-your-site-to-new-post-relationships/

Be sure to read the "Remarks" section, where you will find information about when Types relationship queries become available (we recommend at least init with priority 15).

Let me know if I misunderstood what you're looking for, or if you have other questions about implementation.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.