Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Exclude Taxonomy if count 0 › Reply To: Exclude Taxonomy if count 0
June 25, 2018 at 10:47 am
#18424
Keymaster
Hi Ilan,
I assume you want to exlude taxonomy terms from results, where there are no items associated with them. That code unfortunately is not correct, but I have one that will work.
Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!