Hi James,
Current submenu items would be highlighted by default as well with the standard skin. Do you have a link to the site where you’re seeing the issue?
Okay, now I notice the difference — it does highlight the submenu item, EXCEPT when that item is set up in WP Menus as a “custom link”…
Notice the difference in these two links:
Regular “page” submenu item:
https://www.humortimes.com/cartoons/polichics/
Custom link submenu item:
https://www.humortimes.com/25207/michael-egan-cartoons/
In WP’s Menu, the custom link has a url of /?p=25207
… is there any way to change this behavior?
Thanks.
-
This reply was modified 8 years, 4 months ago by
jamminjames.
-
This reply was modified 8 years, 4 months ago by
jamminjames.
WordPress core determines which items are considered “current”. For custom links, I believe it compares URLs to determine equivalency, so you’d want to make the custom link in the menu the same URL as the page URL.
Hope that helps 🙂