Skip Navigation

[Resolved] Displaying related post types in a view – cannot choose related posts

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by heinP 3 years ago.

Assisted by: Shane.

Author
Posts
#2243685
Screenshot 2021-12-13 185356.png
Screenshot 2021-12-13 185253.png
toolset-view-displaying-related-posts.png

Tell us what you are trying to do?
I am trying to create a view where for every 'event' so that view also shows it's 'pictures'. Both events and pictures are cpt's, and they are in a one-to-may relationship; one event-multiple pics.

Is there any documentation that you are following?
I watched the video's twenty times but I am never getting the dialog box that is in your documentation. I put some screenshots. I can only select the radio button for pictures, but it does not open this secondary radio button list.

Is there a similar example that we can see?
I have created a test page and a test content template to try to achieve this. Feel free to play with them.

What is the link to your site?
hidden link
When I create a admin user for you, how do I get the username and pass to you?

#2243753

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hein,

Thank you for getting in touch.

Yes please provide me with admin access to the site so that I can have a more detailed look at this for you.

I've enabled the private fields for your next response. Also please let me know the link where you're trying to create the view.

Thanks,
Shane

#2244369

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Hein,

The problem is that you needed to add the view to display the related pictures to the content template of the Event as you can see I did below.
hidden link

For further information on how to correctly display the related information of your current post I recommend looking at the documentation below.
https://toolset.com/course-lesson/displaying-related-posts/

An important notice is that the view must always be placed on the template of the Parent/child custom post type.

Please let me know if this helps.
Thanks,
Shane

#2244433

My issue is resolved now. Thank you!
Your last remark did the trick : "An important notice is that the view must always be placed on the template of the Parent/child custom post type."