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
stevefurley / current-menu-parent-wordpress Goto Github PK
View Code? Open in Web Editor NEWAdds 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