Highlight current menu item
-
I’m currently trying to work out if it’s possible to add a
current-<custom>-ancestor
class to a menu item. The menu I am working with look like:<menu>
<menu item 1>
<custom post cat 1 />
<custom post cat 2 />
<custom post cat 3 />
</menu item 1>
<menu item 2>
<custom post cat 4 />
</menu item 2>
</menu>this is working fine, except for that when I select a post from one of the
custom post cats
themenu item
looses it’scurrent-menu-ancestor
class, leaving only thecustom post cat
as current.has anyone had this issue?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Highlight current menu item’ is closed to new replies.