Saltar navegación

[Resuelto] Select Multiple options of a taxonomy filter

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:

Setup the taxonomy filter with AND logic.

Solution:

Please try to modify the filter as below:
Categories slug in one of those set by the URL parameter wpv-category
eg. http://www.example.com/page/?wpv-category=xxxx

and test again

Relevant Documentation:

This support ticket is created hace 5 años, 2 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.

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)

Etiquetado: ,

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por andrewD-10 hace 5 años, 2 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#1392927

Tell us what you are trying to do?

i have a taxnomy filter categories which have two options enlace oculto and user can select one option for filter. One post can have only one category at a time.

in filter option i want the user able to select either one option at a time or both of the options at one time to see posts which belongs to both categories. it's working fine when one option is selected and submitted for results but When i select both options and submit it to filter then it brings no result but i should bring he post belonging to both opitions. enlace oculto

Here are the insights of the filter query and code.
enlace oculto
enlace oculto

#1393101
cat-filter.JPG

Hello,

Thanks for the details, please try to modify the filter in your screenshot:
enlace oculto

As below, and test again:
Categories slug in one of those set by the URL parameter wpv-category
eg. enlace oculto

See screenshot: cat-filter.JPG

More help:
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

#1394955

My issue is resolved now. Thank you!