Skip Navigation

[Resolved] Problem displaying multiple related posts

This support ticket is created 6 years, 2 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 6 years, 2 months ago.

Assisted by: Nigel.

Author
Posts
#1109446

I am trying to:

Display a list of speakers and the sessions they are presenting at a conference. Most speakers have only one session, but one speaker has two sessions - I can't figure out how to display BOTH sessions for this speaker.

Link to a page where the issue can be seen:

hidden link

Other:

The CPT in question is 'Pat McGaughey'

I figured out how to display related posts connected via Relationships... but it only shows one related post. I also ready through this tutorial - which is completely different, but it also only shows one related post: https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/

#1110238

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Neil

I went to look at your site to see if I could look at how you have this set up, but I can't tell what site I'm supposed to be looking at.

The credentials are for your site network, and if I look at the site I think it is (facp) then there is no such page as /speakers/ (although I can visit hidden link on the front end.

I expected to find a one-to-many relationship between speakers and sessions, and to display a list of speakers and their sessions I would expect to find a master View that displayed speakers, and in the output section a nested View which displayed sessions (with a Query Filter to limit the sessions to those of the current speaker, i.e. the current post in the loop of the parent View).

If you can point me in the right direction in the back end I can take a look.