Ben @ wp_list_categories() WITH current_cat_ancestor


maybe you can help with this: how do I get a parent-cat class added in to all categories that have children in the normal wp_list_categories. This above code works well when on a child page, but can you help with how to simply add the parent-cat class? Trying to do it as a filter but have VERY limited php knowledge. Thanks!