Skip Navigation

[Resolved] display relationship (custom field) in loop

This support ticket is created 4 years, 1 month 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: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by federicoA 4 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1864109

I can't find in the documentation how to insert relationships into a look using tollset block.
For example, I have Events and Places in relation. In the loop I have to show all the events and where they are made.
thanks

#1864261

Hello,

In your case, it needs nested views, for example, in the loop you mentioned above, insert a view block:
- Query Events posts
- Filter by relationship between Events and Places
See our document:
https://toolset.com/course-lesson/displaying-related-posts/#displaying-many-related-items

#1864541

My issue is resolved now. Thank you!