OK, it’s a bit messy, but it works. Take a look
function remove_submenus() {
global $submenu;
unset($submenu['themes.php'][10]); // Removes Menu
}
add_action('admin_menu', 'remove_submenus');
function new_nav_menu () {
global $menu;
$menu[99] = array('', 'read', 'separator', '', 'menu-top menu-nav');
add_menu_page(__('Nav Menus', 'mav-menus'), __('Nav Menus', 'nav-menus'), 'edit_themes', 'nav-menus.php', '', 99);
}
add_action('admin_menu', 'new_nav_menu');
Essentially it is removing the nav menu settings from the Appearance sub-panel, then re-adding it as a top level page (similar to a plugin). You can set an icon URL in there as well. The only part I can’t get working the way I want is the positioning.
Related Posts:
- Changing Admin Menu Labels
- Admin top level menu, pointing to an external url
- Add “external” link to admin menu in the backend
- How to remove items from +New admin menu?
- Appearance->Editor not visible
- Add column to pages table
- Admin account only shows Profile and Dashboard with no activity
- How to prevent parent admin page from appearring as a child admin page
- How do I set the homepage to the WordPress Admin Dashboard login?
- Create a admin page in wordpress without admin menus (“wordpress sidebars”)
- Add column to pages table
- Move ‘current-menu-item’ class on #adminmenu li from Posts to Pages for Taxonomy Edit Screen
- How to break line / add to ADMIN menu
- Creating custom admin panel pages without making a plugin?
- Dashboard : remove Safari navigator message
- Trying to create a page as a menu item in the admin while keeping the admen panel visible
- WordPress Admin Panel Left Sidebar No showing on Post create page
- Localhost install: Administrator lost administrator access; cannot access Dashboard
- How to make the Panel // WP-Admin lighter via Mobile
- Organizing Code in your WordPress Theme's functions.php File?
- How do I Enqueue styles/scripts on Certain /wp-admin Pages?
- How to remove admin menu pages inserted by plugins?
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Admin Page Redirect
- Disable dragging of meta boxes?
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- How to Change the Default Home Page for the WordPress Dashboard?
- Sort admin menu items
- Remove dashboard, use Pages tab as default
- Custom column for changing post status via ajax
- 3.3: How do you hide the new dashboard welcome panel?
- Make fonts.com font work in TinyMCE (iframe referrer issue)
- Is it OK to move admin menu items?
- How to add notification bubble for my custom admin menu page
- How to display the user that published a pending post?
- How to remove the site health dashboard widget?
- Adding a menu item in the admin bar
- Reorder custom submenu item
- Copy my user account’s wp-admin dashboard layout to other users?
- How to disable or hide “collapse menu”
- Dashboard links not working
- How to disable admin flyout menus?
- Why adding Categories does not auto refresh in Backend while using my custom theme?
- How to display multiple custom columns in the wp-admin users.php?
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- Rename W3 Total Cache admin menu
- How to add a column to the Trash page?
- wp-admin does not redirect to dashboard
- Change the Default Pages Menu View in wp-admin
- Change WP-Login or WP-Admin
- Prevent /wp-admin/ from redirecting to homepage?
- Associating custom submenu item with post type of top level menu item
- Locked Out Of WordPress Admin Dashboard After Server Move
- Allow administrators to pick post author on custom post type edit screen
- Remove All in One Pack from the admin bar
- Add Featured image column into wordpress admin on pages AND posts
- Dashboard menu missing
- What are the requirements to make the admin toolbar show up on the front end
- How do I let logged out users see the dashboard?
- Remove or move admin submenus under a new menu
- Creating A New Admin Menu Tab For Theme Options
- How to get specific page screen ID
- Removing Dashboard Menu Items Through The Database
- Hooks: admin_footer and admin_print_footer_scripts not working?
- load-{$page hook} and returned parameter
- Can’t access wp-admin, redirects to http://%24domain/wp-admin/
- Develop Admin Panel Page
- Hide admin menu on update_option
- What is the correct way to get only display plugin for Administrator Only
- Making Comments, a sub_menu in admin menu
- Browse Happy in 3.2
- Sortable column (by numbers) in admin users
- Outputting something based on the presence of post variable in admin screens
- How to change a specific admin label
- Uncaught SyntaxError: Unexpected Token Illegal
- Newly created user role not displaying on users screen
- WordPress Admin extremely slow when other admin logged in
- Custom admin menu order fails if slugs are complicated
- How to display my comment count in the wordpress admin bar?
- How to create custom backend admin menu in different languages?
- How to log into WordPress via GET/POST
- How to move “Collapse Menu” to top of admin bar?
- Appearance -> Menus doesn’t show
- How to remove Google fonts from wp-admin (Roboto) added by core
- restrict admin panel sections to users
- Trying to login to my site redirects me to the first page
- How to display status messages in admin panel
- adding existing menu page on new customer user role
- Admin Login Checks
- Disable flyout (popup) menus in backend
- When installing wordpress through WP CLI mysite.com/admin not working
- Remove capability to interact with a page
- Getting 404s in wp-admin after logged in
- Admin section showing CUSTOM Permalink structure thus resulting in permission error [closed]
- wp_is_mobile() inside js
- Unable to access dashboard (wp-admin) only
- Admin Login page not working at all
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Why when I click on a link into the WP admin panel I am redirected to a link that doesn’t contains wp-admin prefix, so I obtain 404 error
- Override WordPress Core File?