From the codex:
Note: When using ‘some string’ to show
as a submenu of a menu page created by
a plugin, this item will become the
first submenu item, and replace the
location of the top level link. If
this isn’t desired, the plugin that
creates the menu page needs to set the
add_action priority for admin_menu to
9 or lower.
So on you add_action('admin_menu',array($this,'_wp_admin_menu'));
set priority to 9 or lower like so:
add_action('admin_menu',array($this,'_wp_admin_menu'),2);
and you should be set.
Related Posts:
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Creating “static” taxonomies to choose from, inside custom post type?
- How to remove post listing page for a custom post type
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Home page is getting current-menu-item even if it’s not home
- Placing Admin Post Metaboxes in Tabs
- Custom Taxonomy Showing in WP Menu
- Can’t add custom post type archive page to menu
- Set menu active state for custom posttype and category, given custom taxonomy term
- Move custom post menu to under plugin admin menu
- Group posts by custom post type
- Custom Page that comes with preloaded content for the user
- Update menu when saving settings
- Function to display custom post type on front page makes menu items dissapear
- How inefficient is it to use a Custom Post for 4-5 sentences & pull all to 1 page?
- custom post type not showing in menu
- Insert & order custom post types in/as submenu
- How to check post type (to include custom css)
- How to customize a permalink (URL) structure?
- Plugin: register custom post types, child ready and performance best practices
- Display only one post each WEEK
- With two custom post types, how to make one a child of the other in the admin menu?
- Correct classes for WordPress menu items
- Custom Taxonomy Navigation, with current menu items for children?
- How to Mass Delete Images from Media Library
- Customize the Dashboard Menu Editor
- Display posts from Custom Post Type in category page on front-end
- Use menus with anchors
- How to make this menu drop down or like accordion
- Permalink structure by Post Meta value
- How to integrate video slide using custom post types?
- Custom Post Type Nav to Subpage
- Custom Post Types don’t highlight in menu nav
- Querying both pages and posts
- Using default WP menu functionality to link to custom post-type listing?
- A question on creating filters for custom posts using taxonomy
- Conditional Query of Custom Post Type and custom taxonomy
- will post_id ever change? Can I safely use post_id for custom queries?
- List custom taxonomy specific to one custom post type
- Define new user capability for custom post types?
- How to allow visitors to enter custom post type?
- Is it possible to create relational metabox values in a custom post?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Meta query for custom post type ignored in main query
- Custom post types as sub menu pages and role capabilities issue
- Second Set of Eyes: One custom taxonomy shows in Appearance > Menus, one does not
- 2 Templates 1 custom post type according url
- How do I move/order posts with a tag to the end?
- changing meta value and meta key of price field
- WordPress sort search results by custom order
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- Hide parent categories when clicked, and show it’s childs
- Custom Path/Folder behind a custom post type
- Time based access control of custom post types – what is good approach?
- Show titles, date of all posts on single category page
- How to display Custom Taxonomy under Custom Admin Menu?
- delete_published_posts does not work
- How to start a new post with custom Taxonomies already set?
- WooCommerce sort products by the actual product width(not the shipping width)
- Able to edit custom post, but unable to create new custom post when within submenu. What capability is missing?
- Add Custom Post Type as top level menu item for a custom page
- Create a custom php page and load it at a specific slug
- Structure of data : CPT + terms
- page menu entry for custom post type
- How to handle paged param in post and custom-post-type?
- Possibilities for the edit.php admin panel? [closed]
- Default text in a specific post type, but not visible?
- Update postmeta Parent when post_status child change
- How to display custom WP menus?
- Add Custom Post type menu to another menu in specific location
- WP_Query custom post type query not showing the exact post type
- Shortcode to display Staff post type based on Location post type and Specialty post type
- How to include term custom meta into the custom taxonomy term permalink structure
- How to Get WordPress custom post data in WooCommerce product meta panel? [closed]
- A form that can save/edit after first input
- Adding the_content() in custom template email
- Cannot save CPT meta box
- non-hierarchical post type with hierarchical url structure
- Send notification to the admin when new custom post is submitted
- How do i search authors from search form using author’s name
- Allow users to create posts without logging in?
- Is there a way to establish parent/child relationship in WP menu links exclusively?
- How to add attributes to taxonomies that may be different from post to post?
- Pages are not saving due to custom post type
- Use custom walker to add taxonomy terms to main nav menu
- A page that shows a list of a specific custom post type
- Migrating a taxonomy’s tags to the native category
- 2 Different Custom Post Types in Submenu
- How to produce a sub-page-system in WordPress
- Single custom post type’s menu ancestor/parent is Posts archive page
- Best structure / rewrite rules to achieve the following url
- menu link to custom post_type?
- Review site custom post type structure
- don’t publish custom post type post if a meta data field isn’t valid
- How does order=asc effect a wp_query (its acting pretty weird in a loop)
- Custom Post Types in the WordPress Navigation Menu
- How to sort posts in a custom post type by title in ascending order by default?
- Redirect to another page using contact form 7? [closed]
- Categorise Custom Post Types
- Detect inside a custom query the kind of post type to assign custom classes