Skip Navigation

[Resuelto] Blocks – Views in a page – How to display different views per categories?

This support ticket is created hace 4 años, 11 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Franck hace 4 años, 11 meses.

Asistido por: Minesh.

Autor
Mensajes
#1417993

Hi,

I created a page listing Products.
These Products belongs to different Categories.
I would to display different views of Products sorting them by categories.
That is to say I need to create a View using Blocks listing only one category of a particular CPT.
Is it possible? How?

#1418193

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Using Blocks its not possible for now to filter the view using shortcode attribute but I'll report to our internal ticket where we are handling this.

For now, you need to use the Toolset Views 3.0.1 version and you need to create a classic view to achieve your goal to filter your posts with different categories. (In this case I'm assuming that you want to use same view to filter your posts with multiple categgories).

For example:

[wpv-view name="view-name" taxcolor="red"]  

[wpv-view name="view-name" taxcolor="green"]

More info:
https://toolset.com/documentation/user-guides/views/passing-arguments-to-views/#controlling-the-filter-with-shortcode-attributes

#1418237

Thanks Minesh for your help! 🙂