Skip Navigation

[Résolu] Query for relationship with WP_Query

This support ticket is created Il y a 4 années et 6 mois. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 réponse, has 2 voix.

Last updated by Christian Cox Il y a 4 années et 6 mois.

Assisted by: Christian Cox.

Auteur
Publications
#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.