Supporter timezone: Asia/Karachi (GMT+05:00)
This topic contains 0 reply, has 1 voice.
Last updated by StanleyT8485 4 years, 7 months ago.
Assisted by: Waqar.
Hi, I need help with querying child posts of a parent post (Types relationship). Here is my code so far.
$query = new WP_Query( array( 'post_type' => 'company', 'toolset_relationships' => array( 'role' => 'parent', 'related_to' => 151, 'role_to_query_by' => 'child', 'relationship' => 'financial' ), ));
Parent post ID = 151 Parent post type slug = company Child post type slug = financial
Known issues and solutions
Frequently asked support questions
Support tickets archive
Get help from experienced contractors
Meet Toolset support team
Toolset Customer Support Policy
Need to tell us something about the quality of support
How to remove personal information from your database for support