Highlighting admin submenu pages
Try it: function sunshine_submenu_show_fix($parent_file) { global $plugin_page; $taxonomy = $current_screen->taxonomy; if ($taxonomy == ‘sunshine-product-category’) $plugin_page=”sunshine_admin”; return $parent_file; } add_action(‘parent_file’, ‘sunshine_submenu_show_fix’); explanation: in file /wp-admin/menu-header.php: $parent_file = apply_filters( ‘parent_file’, $parent_file ); get_admin_page_parent(); … function _wp_menu_output(…) { … if ( ( $parent_file && $item[2] == $parent_file ) || ( empty($typenow) && $self == $item[2] ) ) { … Read more