Saltar navegación

[Resuelto] Adding a view to a content template

This support ticket is created 4 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
- 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 -

Zona horaria del colaborador: Asia/Hong_Kong (GMT+08:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Luo Yang 4 years, 2 months ago.

Asistido por: Luo Yang.

Autor
Mensajes
#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: enlace oculto but showing all the gyms

What is the link to your site?
enlace oculto

#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