Get current category
-
Hi!
Wounderfull plugin, work fine and really usefull!!
Just one question…
I have added to my menu a category (let’s call it A) with subcategories (B and C).
Now, when i navigate to category A the voice in the menu get the class .current-menu-item.
When i navigate to category B the A voice have the class .current-menu-parent and che voice B have the class .current-menu-item.
PERFECT!!!
But when i go in a single article from the category B (displayed with content-single.php theme file) the voice in the menu (both A and B) have no class! I need the same class (or some other class) for the menu rendering!
How i can add them?
Thanks!!!!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Get current category’ is closed to new replies.