Skip Navigation

[Resolved] Relationship

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

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 4 replies, has 2 voices.

Last updated by manuelR-11 3 years, 5 months ago.

Assisted by: Jamal.

Author
Posts
#2148217

Tell us what you are trying to do? I have created a relationship between two posts "used cars" and "used cars on demand" with many to many mode, I need to show in the single page "used car" the featured image of the used car on demand connected

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site? hidden link

#2148909

Hello and thank you for contacting Toolset support.

Please check this article about displaying related posts, and if you still have any doubts get back to us.
https://toolset.com/course-lesson/displaying-related-posts/

Basically, you will need to create a view, and choose the related post type on it. Then you add blocks to display the data from the related posts.

#2149507
Schermata 2021-08-23 alle 10.26.18.png

My problem is that I created the template with elementor and when I go to recall the content of the related post I don't see anything. I'm trying to insert the content of the related post in this way from elementor

#2149613

It's not possible that way. You must create a view. Then you can use the view inside Elementor. Check this article about our View widget for Elementor https://toolset.com/2018/07/toolset-elementor-integration/

Check this article, especially the "Creating Custom Lists of Posts" https://toolset.com/course-lesson/using-toolset-with-elementor-page-builder/

Keep in mind that you will ALWAYS need a view to display a list of posts. Even if it is only one post in cases of child posts(1tomany or many-to-many relationships).

If you are still unsure how to do it, please allow me temporary access to your website and I'll prepare an example for you. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

#2150741

My issue is resolved now. Thank you!