You need to create the hierarchy using page parents. Either use quick edit, or go through each page and set it’s parent, so that you end up with:
- Menu1
- Submenu1 (Menu1 is parent)
- Item1 (Submenu1 is parent)
- Submenu1 (Menu1 is parent)
Related Posts:
- Add custom menu item using wp_nav_menu_items filter
- Adding different classes to anchor in navigation menu
- Page-Linking Structure
- Problem with links once in portfolio item
- Menu Structure with Links failure to update
- Use menu structure for permalinks
- Remove link from Page name in navigation bar
- how to add permalink/slug to wordpress custom link menu item
- Add separator to admin submenu
- How show sub menu only using wp_nav_menu()
- How to get a separate child menu?
- Exclude one item from wp_list_pages( $args );
- Put a wp_nav_menu inside another one
- How to get current page menu item name instead of full menu item list
- Generate a Menu that displays all child pages of top level parent
- Check if wp_nav_menu items have submenus
- Nav walker, bootstrap: Display 3rd level items under 2nd level
- Programmatically adding menu items function replicates in multiple menus
- Sub-Pages only of menu items in current branch using a custom menu
- Pending Custom Link in Menu
- Force PDF download from custom menu?
- wp_list_pages: only show subpages on the parent page?
- How to have custom menu Item CSS Classes for wp_page_menu() or wp_list_pages()
- WordPress sub-menu items suddenly not showing
- No “current-menu-ancestor” class added when browsing an archive page
- Main Menu and Sub Menu Items for Footer
- How to add wechat (weixin) link to navigation menu?
- How to construct a custom html for submenus
- Image as a link using wp_nav_menu()
- Link that refers to a menu item with dynamically generated URL
- Fragment URL in navigation item without a custom link
- Link to Homepage in Menu
- Separator for custom nav menu
- add_submenu_page function to show videos table
- How do I add recent posts to the menu?
- How to add ID attribute to each submenu?
- How do you link to a place in another page without any styling issues?
- From a page, is it possible to find entry’s “menu_item_parent”?
- Highlight current post ancestor parent menu items
- How to retrieve parent menu item name of current submenu item
- Creating a menu containing categories and authors
- Change submenu markup
- getting the current sub item out of total sub items in a given dropdown (custom walker)
- Show WordPress Menu On External Site
- How to highlight 1st level menu item based on actual page
- Adding sub-menu item makes parent item unclickable
- Add Labels to Admin Menu ( How To )
- Problem adding ‘has-children’ class to wp_nav_menu
- How to buid wordpress menu with auto width sub-menu items in dropdown menu without any items sharing one line [closed]
- Add (grand)child pages automatically to nav menu
- The cart, checkout, and shop links not getting removed
- Creating menu always gives error A name is required for this term
- Replace anchor tag with span tag
- If current menu item is child or parent with child?
- Opening Menu link in another tab
- How to add class to anchor using wp_nav_menu
- Simple form to add custom links to menu?
- How to check if current page is a parent item or child item in a given menu
- Controlling sub-menu within sub-menu
- Main menu navigation links and new pages
- Page header menu links change
- custom menu widget where menu title is a link
- Set one or more menus as a submenus of another menu
- Custom menu with additional logic for display
- How can I creat custom menu with bootstrap
- WordPress + Bootstrap: Replace primary navigation menu on mobile?
- Menu links URL with PHP GET method
- Add CSS Class to WordPress Menu Item Dependent on the Page the User is Visiting
- changin the url (permalink as it goes these days) on one specific menu layer
- Menu walker: how to tell if a sub menu contains submenus?
- Getting parent object_id of child menu items in WordPress menu
- Incorrect Behavior on WordPress Main Menu
- Why does WordPress convert absolute URLs to relative URLs for menu items?
- Parent link need to go first child submenu
- Importing large product categories into wordpress menu
- I can’t correctly display menu
- How to sort a sub-menu, generated with get_pages(), by the page order instead of alphabetically?
- Reveal hidden submenus on page load – Twenty Fifteen theme
- Always show wordpress submenu on responsive header menu
- change link of menu particular tab
- Add a Submenu from Another Submenu in a Custom Theme
- How to change page location in WordPress
- Top menu link anchor href value change after online server?
- Adding two submenus to a menu
- Change archive link to single post
- How do I add a link to the menu that has a charector (?) in it?
- Add tooltips with image in WordPress Menu?
- Building Menus with the latest posts included
- Menu support for touch devices
- How to add drop down sub menu from database fields in the particular menu slug
- collapse twenty twelve submenu in mobile version
- wp_nav_menu changed to wp_page_menu
- Change menu item order
- Should I custom code drop down menus or use a wordpress plugin?
- Add “sub-nav” class to a sub menu parent item
- Menu System: Custom Links
- nav tag wrapping around dropdown
- Wrapping my ‘s with
- Displaying list of random links using wp_nav_menu
- How to disable permalink of a particular menu item?