Trouble highlighting correct menu parent with wp_nav_menu classes while viewing “single posts”

This works for me:

  1. Create a Page called “Blog” and in Settings > Reading, set the Blog
    Page to be the Posts page.
  2. Create a WordPress menu and add to it my Blog Page, Category 1 and Category 2
  3. Navigate to one of the posts in Category 1
  4. Category 1 is set as “current-post-parent” in the menu

You can remove “category” from the URL using one of the various methods out there (plugin, permalink structure, .htaccess). I just tried using the permalink structure method and that worked fine.

Hope this works – keeping my fingers crossed & knocking on wood & all that good stuff! 🙂