Highlight top parent item for child archive page
-
Hi there.
Plugin works fine if pages are really children of the top level page.
But I cannot highlight the top parent page if there’s not a real relationship.
Let’s say that I have a menu item called “News” and I have an archive page called “Press” that shows all the “press_post” elements (a custom post type, of course).Once I click on Press, the top level page is no more highlighted! ??
I’m trying to figure out a solution overriding the Walker class of Max Mega Menu plugin, but I cannot find a way to write something like “if current page (Press) is shown inside a menu widget that is part of the top level item (News), then add a special class”.
Is that possible?
ThanksThe page I need help with: [log in to see the link]
- The topic ‘Highlight top parent item for child archive page’ is closed to new replies.