Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Hide Empty Categories › Reply To: Hide Empty Categories
Dear Ernest Marcinko,
thank you for your fast and also easy Reply. I inserted the custom filter into the functions.php from my child-theme. Please forgive me, I may left out an important Detail: The taxonomy is not the typical “post category” but the Course Category from Learndash. As the Code snipped did not do any Change with $taxonomy == ‘category’ I changed it to == ‘sfwd-courses’- However this still didn’t hide the unused Course category. I packed up a screenshot of my Settings to make it more clear this time. My apologies. Would this still be possible with a filter and the custom taxonomy anyway?
Again, thank you very much.
Kind regards
Toni