Reply To: Empty search with taxonomy filter not working properly

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Empty search with taxonomy filter not working properly Reply To: Empty search with taxonomy filter not working properly

Ernest Marcinko
Ernest Marcinko


I think I know the reason why the max-height is ignored, it appears to be a yet unkonwn bug.

You can fix that issue by opening the wp-content\plugins\ajax-search-pro\includes\views\asp.shortcode.categories_terms.php file and going to line 322, which should be this:

<div class='categoryfilter'>

try changing that to:

<div class='categoryfilter asp_sett_scroll'>

It should fix the max height issue. If you need assistance, then feel free to provide temporary FTP details, and I will fix it for you.

Then, if I understand correctly, you want to display results matching from a taxonomy-term, but it can be from any given taxonomy. In that case, after selecting all the taxonomy terms you need on the Frontend search settings -> Taxonomy Terms panel and selected a drop-down layout, go to the Frontend Search Settings -> Advanced panel and change:

  • Category/Taxonomy terms logic option to At least one selected terms should match – because you want to match at least one term, not neccessarily all of them.
  • Logic between taxonomy groups option to OR – because you use different taxonomies, but at least one should match from any group
  • (optional) Show posts/CPM with empty taxonomy terms? option to OFF – if you don’t want to display anything without terms, then turn this off.

Screenshot of the configuration:

I hope this helps.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)