Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Taxonomy filter not working
This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko 1 year, 10 months ago.
- AuthorPosts
- May 18, 2021 at 4:00 pm #33297
Something wrong with search.
We have created an asp for custom post type “Obrasci” and custom taxonomy “obrasci”.
And in the top right corner of main page we have this search widget but it wont work properly with all taxonomy terms.
So for first term “Izveštaj o isplaćenim zaradama u javnom sektoru” we got one result and that’s valid
https://proba.cekos.rs/?asp_ls&asp_active=1&asp_force_reset_pagination=1&p_asid=2&p_asp_data=1¤t_page_id=14587&woo_currency=RSD&qtranslate_lang=0&wpml_lang=en&filters_changed=1&filters_initial=0&asp_gen%5B0%5D=title&asp_gen%5B1%5D=content&asp_gen%5B2%5D=excerpt&customset%5B0%5D=obrasci&termset%5Bobrasci%5D%5B0%5D=8but for second term “Poreske prijave – porez na dobit pravnih lica” we got no results (and should got at least one)
https://proba.cekos.rs/?asp_ls&asp_active=1&asp_force_reset_pagination=1&p_asid=2&p_asp_data=1¤t_page_id=14587&woo_currency=RSD&qtranslate_lang=0&wpml_lang=en&filters_changed=1&filters_initial=0&asp_gen%5B0%5D=title&asp_gen%5B1%5D=content&asp_gen%5B2%5D=excerpt&customset%5B0%5D=obrasci&termset%5Bobrasci%5D%5B0%5D=10and problem permits with other terms.
I have checked and we got valid posts for those terms but they are not showing in search.Furthermore I have tried ASP option to hide terms without posts and those terms are still showing. So it looks like asp knows that terms are valid but not listing posts when selecting those terms anyway.
May 19, 2021 at 1:33 pm #33309Hi,
It is very likely the WPML compatbility – if the item is not translated, it is excluded automatically, since it has no assigned language. Try turning it off here: https://i.imgur.com/c3gPN1L.png
Best,
That should very likely resolve the issue.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
May 19, 2021 at 7:38 pm #33317Thank’s. That’s it.
Once again WPML related problem 🙁
And I have activated WPML just because it’s the only way to fix some other WPML issue with duplicated resources…
Thanks for clearing this issue fast and you can close this ticket as resolved.Best regards, Danilo.
May 20, 2021 at 8:26 am #33327Great 🙂 I will mark this as resolved then.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.