Skip Navigation

[Resolved] I am unable to display Child Posts of a different Type

This support ticket is created 6 years, 9 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.

Our next available supporter will start replying to tickets in about 3.28 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 2 replies, has 2 voices.

Last updated by Monique Bolland 6 years, 9 months ago.

Assisted by: Nigel.

Author
Posts
#617301

I am trying to:
Display all Child Posts of type 'label' when viewing a single 'product-sku' post.

I followed the instructions on this page: https://toolset.com/documentation/user-guides/querying-and-displaying-child-posts/ and created a View to list all Label Posts that are children of the post being shown.

I then inserted this View into my Single 'product-sku' Content Template.
I have checked the relationship and everything appears to be correct.

When I view the the Single product-sku post, my View is returning 'No labels found'.

Example (admin credentials in the vault):
hidden link

#617368

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Monique

I visited your site and see that the content template for Product SKUs inserts a View for the labels "Labels by SKU".

But that View is incomplete.

Editing the View, there is nothing chosen for Content Selection (this View should be displaying Labels). It looks like you made the View and then unselected Labels as the post type to display.

#617618

Thanks so much Nigel! I feel a bit silly but glad it was such a simple fix