Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

WP Admin Menu Structure (Sub Menu Appearance) WordPress


I would like to remove the appearance sub-menu from the wp-admin and then to create a new menu called Menu's and have that link to Appearance > Menus

See image for illustration of desired result;

Answers (2)


Rashad Aliyev answers:

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', '', $imgpath);
add_action('admin_menu', 'new_nav_menu');


Oleg Butuzov answers: