[Gelöst] Views Output Ignores Post Relationship (Output Displayed In All Custom Posts)
This support ticket is created vor 7 Jahre, 9 Monate. 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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I have a custom post called 'listings'. I've created a custom post called 'reviews'. 'Reviews' is set as a child of 'Listings'. I've created a post form using CRED for users to submit reviews which includes the dropdown list to select the parent listing. I've created a View to display these reviews within listings. I've used the CRED form to submit a few sample reviews to test it works. In each sample the parent listing has been selected. In each case, the review shows the correct parent listing within admin control panel. However, all reviews are appearing within all listings.
What settings do I need to check please?
I would expect to have to make the output in Views conditional on the parent listing (set in the review) matching the post title so that only reviews for that listing are displayed but the fields aren't available.
Actually the requirement is for the other way round: display contents of child post in related parent post. I found the answer in this document and it now works:-