I was wondering if there's any way to discover which categories are "active" on a category archive page. This is for the purpose of menu highlighting.
To demonstrate, compare these:
(1) Parent category archive: http://building.mediumutm.ca/test-cat/ In the menu, the category is highlighted because it's active - cool. But so are both the dropdown menu links, its subcategories.
(2) Post in the parent category: http://building.mediumutm.ca/post-test-cat/ Working perfectly. Only the parent category is active and highlighted, not the dropdowns.
So it's really only (1) that's a problem, and I suspect it's not a CSS class issue because (2) works fine... So it that that archive page treats the subcategories as active? If so, can I disable that? Or what?