Hello, I have an important problem with archive pages. In a project built with Toolset I need to place a front-end taxonomy in the search or filter field. The problem to do this changes the logic of everything to "and"
I need the view to show the Custom Post Type for two taxonomy in "or" and add what the user selects in "and"
I can think of some solutions but extraordinarily complex and difficult, perhaps there is a simple path, after all it is something that has surely happened to more people
To be 100% sure I did a clean installation locally. I also follow the example of the documentation gyms. To replicate the error I have created 3 taxonomies for "gyms"
- Service
- Additional Service
- City
I have created 2 gyms in two cities. One with the "Personal Training" service included and the other as an "Additional Service"
I have created a "Personal Training" page where I am going to show the two types of service and the user can filter the city
(Gym1 offer Personal Training in service and Gym2 as adiditional service)
If I place "or" for a second visually "city" disappears and appears as if it were effective.
But it's just a visual thing, if you reselect the view block you see the real filter that is being applied
The final page does not show a result, since everything is forced in "and" it would show custom post type that have the service as included and as additional at the same time
Can it be considered a bug? How long can it take to be repaired?
Thanks for the proposal, it looks interesting, in the project I'm working on it was too complex to implement (too many views and too many taxonomies), I took another path
It is difficult to explain the path I took, in the form for the custom post type I have created generic fields that in value can build the slug of the taxonomy, so that when the user fills out the form they join the taxonomy. My approach is also complex and difficult, but I can freely place those custom fields as a filter
It would be great in the future to be able to use taxonomies as filters without changing the logic of everything to "and"