current-menu-item class for custom post type parent
I usually include the following parent variable, filter and method in my plugins to account for this case. I’ve never been sure if this is the “right” way of going about it, but feels better than applying it with javascript. class Plugin_Name { private $parent=”services”; // ideally this is a setting in your plugin, not … Read more