This topic contains 5 replies, has 2 voices, and was last updated by Anonymous 7 months, 2 weeks ago.
- September 28, 2021 at 6:52 pm #34908
I have custom post types under custom taxonomies. As seen in the screenshot “custom-terms.png”, I have custom posts with multiple “Height” terms attached to them.
If you go to my test page https://staging20.beachboardwalk.vrdv.co/test2/ and check the following filters:
49″ and Taller
you’ll see some results. However, if you uncheck 49″ and Taller filter, no results show up, even though there are custom posts with both of these heights attached to them:
49″ and Taller
How can I get the Heights filter to show any post type that has at least one of the Height terms attached to it instead of requiring ALL of the terms attached to it?
Thank you.September 29, 2021 at 9:18 am #34920
Ernest MarcinkoKeymasterSeptember 29, 2021 at 4:48 pm #34940
Thank you, but unfortunately that doesn’t work. I configured it as you show and now any filter I choose (without entering a search term) doesn’t do anything as you can see here: https://staging20.beachboardwalk.vrdv.co/test2/
In fact, it even gives wrong results if I do a search for “Wipeout” (which only belongs to the 44″-48″ and 49″ and Taller categories) and choose Under 34″ as you can see in the screenshot.September 30, 2021 at 9:54 am #34944
All right. I logged in to check the configuration and found the conflict. You have hard-inclusions set under the Advanced options panel. These will be in effect regardless of the filter states. I recommend clearing all of these inclusions (or only keeping the ones, which does not relate to the filter items): https://i.imgur.com/nJNFkWl.pngBest,
If you like my products, don't forget to rate them on codecanyon :)
September 30, 2021 at 4:59 pm #34952
Strange, I didn’t add those… must be automatically added when I choose terms. Anyways, with a few other setting changes, it now works as I need it.
Thank you!September 30, 2021 at 5:23 pm #34953
In case others want to know, see attached screenshot with my Frontend Search Settings > Advanced panel settings.
You must be logged in to reply to this topic.