![WordPress](https://i0.wp.com/ibexoft.com/wp-content/uploads/2018/03/wordpress-developers.png?fit=768%2C384&ssl=1)
Mark parent category menu active on single custom post view in WordPress
Recently I developed a theme for one of my clients and I had to highlight the menu item of the parent category in the main menu when one of its associated single custom posts was viewed. For that, I had…