Support » How-To and Troubleshooting » Highlight menu items when viewing a single WordPress post
4 years, 4 months ago
I have a WordPress 3.3.2 custom theme. The theme’s menu can highlight current pages and categories, but I am unable to highlight menu items when a post is open.
I want to know how I could do this, so if I posted a blog post, e.g. in the category “Dogs” it could highlight relevant items in the menu and submenu.
[code moderated – use the pastebin for any code over the forum limit of 10 lines]
Note: these are some imilar resources/questions, although they haven’t helped me yet as I am using a custom theme: