Hi Support
I have a CPT named "Projects".
I have a second CPT named "Project News Item", which is a child CPT of "Projects" (a one-to-many relationship).
I would like to create a menu for embedding in any parent CPT post, which links to an archive of all the related child CPT posts.
Is this possible?
Many thanks,
Andrew
Hi Andrew,
Thank you for contacting us and I'll be happy to assist.
This is possible and you'll create a new view that lists the CPT "Project News Item", in the format that you need for your menu,
( ref: https://toolset.com/documentation/getting-started-with-toolset/create-and-display-custom-lists-of-content/ )
Next, you can add a post-relationship query filter in your View, so that only child posts of current parent posts are included in the view. We have more details on the topic, in this guide:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/displaying-related-child-posts/
After that, this newly created child view can be added to a parent view or the content template, that you're using to show the content of parent posts.
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
My issue is resolved now. Thank you!