Skip Navigation

[Resolved] problem query related child post in the same parent

This support ticket is created 6 years, 10 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#606137

I am trying to:

let say i have parent post, name [vendor]
and then [vendor] have a child post hotel A, hotel B, hotel C.

When i query Hotel A in single page and then below that page, showing about related child post for ex : hotel B , hotel C

which that related child should in same parent.

and i cannot achive this, i already try from wp types documentation but no luck untill now, always showing no item found

Link to a page where the issue can be seen:
hidden link

I expected to see:
i expected to see the related child post in same parent

Instead, I got:

No items found

#606179

Hi,

I assume the post type "vendor" is a hierarchical custom post type, and you are going to display it's brother posts in a single "vendor" post, please follow our document to setup the view:
Displaying Brother Pages
https://toolset.com/documentation/user-guides/displaying-brother-pages/