Hi Mat,
I just bought the Pro version so I can manually display the menu for a top level page while on a post type, and it works great. Here’s a sample blog post with the correct page menu displaying:
https://robinsoncenter.uw.edu/2018/03/looking-explore-something-new-summer/
The problem is that it would be even better to have the “News” item in this menu with a class of “current_page_item” so it’s highlighted appropriately. Is there a way to do this in the settings or using hooks and PHP?
I didn’t see anything in the documentation, so I’m hoping you can point me in the right direction. Thanks.
– Chris Blair
Hi Chris,
Certainly. Using the following filter will add the “current_page_item” class to the “News” page always.
Thanks, Mat, that’s just what I needed. Works great!