Skip Navigation

[Resolved] Adding a view to a content template

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 1 reply, has 2 voices.

Last updated by Luo Yang 2 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#2321265

Tell us what you are trying to do?
Adding a view with multiple results to a content template with one result. I have a CPT content templates that shows one listing, I want to show a map of nearby listings at the bottom of the page. I have created a view that shows multiple listings, but can't work out how to display this in the content template

Is there any documentation that you are following?
Just Toolset documentation, but most of the search results have been removed.

Is there a similar example that we can see?
Like this: hidden link but showing all the gyms

What is the link to your site?
hidden link

#2322523

Hello,

You can use View's shortcode [wpv-view] to display the multiple listings view, for example:
[wpv-view name="My amazing custom post list"]

see our document:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-view