Skip Navigation

[Resolved] displaying multiple parents with legacy views plugin

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 2 years ago.

Assisted by: Minesh.

Author
Posts
#2518715

I have a post type "Workshop" with a related post type "Presenter." I want to display the names and bios of all presenters if a workshop has more than one presenter. I'm using the legacy Views plugin, NOT blocks—and can't find documentation for how to do this. Using [wpv-post-body view_template="None" item="@workshop-presenter.child"] in my content template (for workshops) only shows one presenter, not multiple.

#2519635

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

First of all - I would like to know that what post relationship you have created between your post type "Workshop" and "Presenter."

If you want to display multiple related posts of post relationship then you will require to create a view to display those. Please check the following doc that might help you:
- https://toolset.com/documentation/legacy-features/views-plugin/#post-relationships

Please get in touch with me if you require further assistance.

#2519643
Edit-product-“Occupying-Massachusetts-Layers-of-History-on-Indigenous-Land”-‹-Community-Engagement-—-WordPress.png

I have Workshops and Presenters set up in a many-to-many relationship, I'm not actually using a post reference field. Each of my Workshops is connected to at least one Presenter.

#2519683

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

If you are using many to many post relationship then you will require a view to display the related posts.

Here is the Doc that should help you:
- https://toolset.com/documentation/legacy-features/views-plugin/displaying-related-child-posts/