Navigation überspringen

[Gelöst] Select Multiple options of a taxonomy filter

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 5 Jahren, 2 Monaten. 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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von andrewD-10 vor 5 Jahren, 2 Monaten.

Assistiert von: Luo Yang.

Author
Artikel
#1392927

Tell us what you are trying to do?

i have a taxnomy filter categories which have two options versteckter Link 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. versteckter Link

Here are the insights of the filter query and code.
versteckter Link
versteckter Link

#1393101
cat-filter.JPG

Hello,

Thanks for the details, please try to modify the filter in your screenshot:
versteckter Link

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

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!