I have a page called “Portfolio”. I use this page to show the archive for my custom post type called “Works”. I do this by displaying the portfolio page on with a custom template called “Work archive”.
I would like to highlight the Portfolio page in my menu when I am on a single post of Works.
Can You help me?
This could help you
Source
Hey I dunno if this is still relevant but I came across this and it worked great. I’m using the roots theme with a post type of “projects”
}
Altered from here: https://wordpress.org/support/topic/custom-post-type-highlighting-current-menu-item