GeneralMenu 1Menu 2Menu 3Menu 4Menu 5OverviewUse this tool to create custom code for Navigation Menus with register_nav_menus() function.UsageFill in the user-friendly form.Click the “Update Code” button.Copy the code to your project.Or save it as a snippet and share with the community.ExamplesIf you are still learning how to use this tool, check out the following examples:Header & Footer menusMenus for destop, tablet and mobileMenus for registered & unregistered usersFunction Name The function used in the code.Child Themes YesNo Add Child Themes Support.Text Domain Translation file Text Domain. Optional.Menu 1 Name Slug used in the code. Lowercase, with no spaces.Menu 1 Description A short descriptive summary of the menu.Menu 2 Name Slug used in the code. Lowercase, with no spaces.Menu 2 Description A short descriptive summary of the menu.Menu 3 Name Slug used in the code. Lowercase, with no spaces.Menu 3 Description A short descriptive summary of the menu.Menu 4 Name Slug used in the code. Lowercase, with no spaces.Menu 4 Description A short descriptive summary of the menu.Menu 5 Name Slug used in the code. Lowercase, with no spaces.Menu 5 Description A short descriptive summary of the menu. Update Code Save Snippet
// Register Navigation Menus function custom_navigation_menus() { $locations = array( ); register_nav_menus( $locations ); } add_action( 'init', 'custom_navigation_menus' );