Haxo!

Highlight current category in wp_list_categories (custom taxonomy)

If you’re using wp_list_categories to display all terms of your custom taxonomy it could happen that the generated list highlights current category name when you browse the category page and NOT when you browse single posts. Here’s how I fixed this issue, adding a ‘current-cat’ class to the current category item even in single posts pages. Add this code to your functions.php file.