Hide parent link in submenu on admin menu

As @Tom J Nowell pointed out in the comments, using the same slug for the admin menu and the first submenu has the effect of removing the repeated menu name in the submenu. function newintranet_tabs_admin_menu_option() { add_menu_page(‘CMC Intranet Tabs’, ‘CMC Intranet Tabs’, ‘manage_options’, ‘newintranet_tabs_admin_menu’, ‘newintranet_tabs_scripts_page’, ”, 200); add_submenu_page(‘newintranet_tabs_admin_menu’, ‘Add Tabbed Page’, ‘Add Tabbed Page’, ‘manage_options’, … Read more

Footer navigation menu

you can add new menu from WordPress admin on this https://de.ferberg.com/wp-admin/nav-menus.php?action=edit&menu=0 and then you need to call this menu where you’re calling your footer menu.

and custom post_types to custom menu

Try adding the action after the function like this: function mt_add_pages() { // Add theme options page to the addmin menu add_menu_page(__(‘Competition’,’comp’), __(‘Competition’,’comp’), ‘manage_options’, ‘mt-top-level-handle’, ‘test_func’, ”, 5 ); add_submenu_page(‘mt-top-level-handle’, __(‘Answers’,’comp-answers’), __(‘Answers’,’comp-answers’), ‘manage_options’, ‘sub-page’, ‘test_func2’); } add_action( ‘admin_menu’, ‘mt_add_pages’ );