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?
- Is there ANY way to remove comments function and section totally?
- 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?
- How to remove screen options and help links in the admin area?
- Displaying the number of updates available in the Admin area
- 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?
- How to add a custom metabox to the Menu Management admin screen?
- Backend Checkboxes working – but not visual?
- External HTTP API calls slowing down WordPress admin [closed]
- Outputting something based on the presence of post variable in admin screens
- Move WooCommerce menu entries to top of dashboard
- Available resources for learning WordPress 4.7.2 from the ground up?
- Disable Auto-Expanding Menu in WordPress Admin Menus
- Change users.php WP_User_Query
- How can I control which plugins run in the dashboard?
- how to stop wordpress admin menu from scrolling with page
- How to change a specific admin label
- Uncaught SyntaxError: Unexpected Token Illegal
- Change maxlength of link_description in dashbord link section?
- Newly created user role not displaying on users screen
- WordPress Admin extremely slow when other admin logged in
- Broken Customizer page
- Custom admin menu order fails if slugs are complicated
- I can’t access my wp admin dashboard
- How to display my comment count in the wordpress admin bar?
- Weird white space in admin area
- Step by step guide for new users on how to post content?
- Accessing wordpress tool in local MAMP Site
- Redirect from wp-admin back to page
- 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?
- Access to “My Site” is missing from the 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
- Remove menu item dashboard for a unique user
- 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
- Failed to load resource: the server responded with a status of 431 ()
- Remove Theme menu link from Admin Panel
- Dashboard controls have all stopped working
- When installing wordpress through WP CLI mysite.com/admin not working
- Trying to list user and post information from (wp_includes/post.php ) causes Fatal error
- 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
- How to add next height number in Order Attributes inside the Add new page. [duplicate]
- Unable to render Admin Notices
- Getting 404 page not found error while trying to access add new plugin / themes
- Unable to access dashboard (wp-admin) only
- Launch wordpress site to local computer from live website backed-up
- Admin Login page not working at all
- Show parent-child relationship for categories in the wordpress admin
- All of my WordPress sites have Bold Open Sans
- Redirection to external site on admin
- Is it possible to tell if a user is logged into WordPress from looking at the cookies which are set?
- Move Custom Taxonomy Menu to Top Level Admin Menu
- 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?
- How can you change the admin dashboard URL without symlinking?
- get_current_screen() does not return parent_file
- Import bootstrap 5 and bootstrap icons in wp-admin backend
- Admin utility classes?
- How to access admin menu labels and links on front-end?
- Administrator user cannot access dashboard after localwp import
- WP dashboard messed up
- How can I have an admin only non-dashboard page in my WordPress plugin