Instead of this:
return array(
'index.php', // Dashboard
'separator1', // --Space--
'edit.php?post_type=page', // Pages
'edit.php', // Posts
'edit.php?post_type=portfolio', // Portfolio
'admin.php?page=wpcf7', // Contact Form 7
'upload.php', // Media
'edit-comments.php', // Comments
);
try this:
return array(
'index.php', // Dashboard
'separator1', // --Space--
'edit.php?post_type=page', // Pages
'edit.php', // Posts
'portfolio', // Portfolio
'wpcf7', // Contact Form 7
'upload.php', // Media
'edit-comments.php', // Comments
);
Related Posts:
- How to change admin menu position of “Media”?
- Add a Separator to the Admin Menu?
- Adding a custom admin page
- How to remove entire admin menu?
- Plugin to remove Admin menu items based on user role?
- Add my own button next to “Screen options” and “Help” in the admin
- How to show custom menu items in the WordPress android app?
- Remove ability to access certain admin menus
- Appearance->Editor not visible
- Custom WP_List_Table displays blank rows
- How do I set up a webhook?
- Admin pages have no content
- WordPress Left Hand Side Admin Menu Always Collapsed
- Reorder plugin items in the admin menu
- Re-ordering Admin Submenu Sections
- Reference external file as a function
- Add number new posts (post_status = pending) to administration menu [duplicate]
- add_submenu_page set for multiple roles [duplicate]
- How To Create User Specific Admin User Pages?
- Change the Default Pages Menu View in wp-admin
- Change top level menu item to point to custom submenu item
- Associating custom submenu item with post type of top level menu item
- Admin doesn’t have sufficient permissions to plugin’s page
- Remove Admin sidebar link
- Single category’s posts list in admin menu
- Dashboard menu missing
- WordPress Remove Submenus
- page not updating with database
- Why am I timing out when using the Menu Editor?
- 500 internal server error on wp-admin only
- How can I POST or GET to the same admin page from which I am POST-ing or GET-ing
- Output the admin menu_position for each item
- avoiding the display of certain categories to certain user roles at content entry time
- How can I add a menu item to the admin area?
- Backend Checkboxes working – but not visual?
- Give admin_menu permission to specific users
- Show all admin menus in a table
- Highlight active Admin Menu when added though add_menu_page
- require/include php file in add_menu()
- Create WordPress Menu Item Without Linking to a Custom Page
- Simple CSS admin pagination
- How to change the default url for ‘Posts’ link?
- Unsure how to add simple checkboxes that write to a small table to admin
- Add a link to the Admin menu
- Reference external file as a function
- Display admin sidebar into custom post pages if logged
- Admin Ajax is returning 0
- A similar hook as wp_head for the admin area
- Hide allow trackbacks/pingbacks
- Add column to pages table
- Gallery Settings Change available Columns
- Hide Admin menus per role in WordPress
- wordpress upload http error?
- Dynamically Set WordPress Post Title To The Category Name
- How to find out if an wp-admin action edited a file?
- Text snippets shared across posts
- Add menu page on multisite
- How to put placeholder text in the main post input area?
- I keep getting logged out in Firefox
- How do I remove the entire left nav bar in admin for certain level users?
- Send email to Admin when user/member updates specific user/member data
- disable admin-bar search field for specific roles
- Limit Words in Category / Term Description – Admin Panel
- Change admin logout URL
- Default admin color scheme as “blue”
- Can user #1 (the initial user) be deleted without ill effect?
- Remove duplicate product link from WooCommerce Page Row Actions
- Admin Taxonomy Terms – Orderby Term Field
- How do I add an admin notice within javascript in the admin interface for posts?
- Admin toolbar shows up when not logged in
- Make the Status, Visibility, or Date fields opened by default in the Publish box
- WordPress Admin Login Redirect Problem
- Admin Top Bar Not Showing On Front End
- WordPress administration Over SSL – To Force SSL Logins and SSL Admin Access
- How to verify nonces in bulk?
- Hide post title input for all roles except admin
- How to activate the dashboard
- How to group navigation items in the admin panel
- hide elements of admin with css file
- WordPress Hacked 5.5 admin-ajax.php [closed]
- Redirect admin 403 “Cheatin uh?” admin pages
- iframe with Youtube video appears for logged-in users, but not for incognito users
- Admin mode breaks with subdomains in latest WP
- Custom Jquery in admin breaks media-upload script
- Extending the user profile [closed]
- Show private pages in public when you logged in as admin?
- Any known plugins for master admin login to edit all on front end?
- Metaboxes inside Tab
- How to show WordPress admin dashboard forms on front-end?
- WordPress – add help text under category list(right side) in post edit page
- Cannot access wp-admin after installing SSL – user capabilities not being set
- Where to store publicly-accessible files
- Admins loggin in to our wordpress site default to the admin page
- Display Graphs in Admin Pages
- ‘Conflict’ with action deleted_post and is_admin()
- Custom Post Type Causing Admin Sidebar UI Issue
- Dropdown list of available posts for post editing
- Is it possible to get rid of admin new updates notifications?
- Cant enter admin page with SSL
- What Role to assign remote site developer?