Problem: I would like to display information from a related post in a many-to-many relationship, using a "Fields and Text" or a "Single Field" block. In the past I was able to do this with a one-to-many relationship to display information from the parent post in the child post template, but it doesn't work for a many-to-many relationship.
Solution: Since there is the possibility of having multiple related posts instead of just one, you should use a View of related posts to display this information. Add a post relationship query filter, and insert the field in the View's loop.
Relevant Documentation: https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/#displaying-many-related-items
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 |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 4 replies, has 2 voices.
Last updated by 4 years, 9 months ago.
Assisted by: Christian Cox.