Problem:
I have a Parent and Child Post Type.
In the child Post Type I want to display all related Parent posts.
In Views Query Options there is an option to display Posts that belong to the parent, but not the opposite, Posts that "parent" a child.
What can I do?
Solution:
This is not possible.
With Views you can query any Child post of a given parent.
But you cannot display a parent according of the Current Child Post.
What you can do instead is query the Child Post and call it's parent post fields:
https://toolset.com/documentation/user-guides/displaying-fields-of-parent-pages/
This can also be done in a Content Template of course.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | - | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 | 14:00 – 20:00 |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)
This topic contains 2 replies, has 2 voices.
Last updated by 7 years, 6 months ago.
Assisted by: Beda.
The forum ‘Types Community Support’ is closed to new topics and replies.