Bio: I specialise in creating bespoke websites (usually built with WordPress) at an affordable rate and on time for large corporations, start-ups, small businesses,
Adds a current_page_parent to active menu items, including post types. It also removes it from default posts menu archive when it's a different post type. Just pop it into functions.php or a plugin