You have to hook into wp_nav_menu_items
and build your own menu there. A little guide for working with this hook can be found at wpbeginner.
Related Posts:
- Display only page specific sub menu items using Custom Walker
- Add class to top level menu item if it has multiple child levels
- Simple Navigation Walker – Wrapper-class around first sub-menu
- Custom Nav Walker sub-menu HTML construct
- Check if wp_nav_menu items have submenus
- Add div to specific sub-menu
- Nav walker, bootstrap: Display 3rd level items under 2nd level
- Sub-Pages only of menu items in current branch using a custom menu
- How to display dynamic content in start_lvl function
- How to add a submenu toggle button inside all “li” elements that have a submenu?
- Main Menu and Sub Menu Items for Footer
- How to construct a custom html for submenus
- How to add ID attribute to each submenu?
- Change submenu markup
- getting the current sub item out of total sub items in a given dropdown (custom walker)
- How to Add support for sub-menu item description in wordpress?
- How can I creat custom menu with bootstrap
- Menu walker: how to tell if a sub menu contains submenus?
- Where to place a svg chevron down in my custom walker?
- Conditional Nav Menu Inside Nav Menu Across Multisite Sites
- Split up wp_nav_menu with custom walker
- Error “Trying to get property of non-object” with Custom Walker for wp_nav_menu
- how to create a menu with all sub categories?
- WordPress Menu Custom Walker Class
- Multi Level Bootstrap Navigation Menu in WordPress
- wp_nav_menu() loses ‘current-menu-*’ classes on single product page within category
- Custom nav walker with different output depending on depth
- How to make pages metabox display all hierarchy in menu admin?
- Bar separated navigation by extending Walker_Page
- Output the aria-labelledby parameter for a nav menu child
- Customizing a walker menu class
- How to add ID and class in nav menu walker?
- How to remove trailing tags from wp_nav_menu walker
- How to add parent element’s title to nav menu’s child?
- Custom Walker for Walker_Nav_Menu
- Handling complex multi-level architecture / menu for large site
- Custom Walker anchor tag not inheriting attributes
- Check what “type” a menu item is
- Create self-populating menu and add extra divs to the menu layout
- Add custom text to menu
- Menus like a CMS
- How to add a tag to wp_nav_menu in a child theme
- next_post_link() on custom menu structure
- Third level navigation class
- Get top items number from wordpress menu
- How to include a third level with wp_get_nav_menu_items function
- add span class and i tag inside wp_nav_menu link anchor tag
- How to Overwrite/Customize wp-admin/nav-menus.php in WordPress
- Schedule Page to Menu [duplicate]
- Add within the output of
- wp_list_pages() but only show children on the branch you are on
- Trying to Create Menu in WordPress
- Hierarchical menu nesting problem with jQuery targetting
- Sub Menu does not display using Nav Walker
- Is this format possible with a custom Nav Walker class?
- Get Menu Name inside walker
- Add code to WordPress menu items by class
- Where to implement custom walker class?
- How do you add a around the second level of a Menu?
- How to customize submenus isn wordpress theme [closed]
- Dynamic_sidebar inside wp_nav_menu
- How to add attribute in menu code
- Can I have a different menu for each parent page?
- How Do I Add Images To Main Navigation Menu
- remove class “sub-menu” from wordpress drop down menu
- Walker menu not displaying at all
- Wrap list parent in div with wp_nav_menu menu
- How to add a element with walker menu right after begin of the navigation tags?
- WordPress Nav Walker – Top menu link with dropdown link not clickable (dropdown opens)
- Add custom class to li element which has children
- Custom menu walker – remove li tag based on class name
- Removing Submenu from Menu
- Walker_Nav_Menu creating too many closing tags?
- WordPress custom menu can’t show 3. level submenu
- Help with WordPress Custom Nav Walker
- Why is my navigation in my onepage not working?
- Change hover to onclick on menu
- Need help with Walker_Nav_Menu class
- why are my walker menu is showing like this?
- Bootstrap Theme Migrated to WordPress
- having a page in multi sub-menu and match current-menu-item
- Why my dropdown menu is effecting main menu?
- Does the Default theme of WordPress like 2016, 2017 and 2019 uses Walker_Nav_Menu Class
- Creating navigation out of specific IDs and their children?
- Add active class to wp_nav_menu
- Output existing wp_nav_menu with a custom walker
- How to access into the description of a sub menu
- how to split vertical menu into two columns using walker nav menu
- Adding span to a particular text in an menu item
- How to separate sub-menu output and keep associated with parent
- Add parent link to its submenu
- Creating custom Menu for custom theme
- Count Level 1 Childs for Custom Nav Walker WordPress
- Show Child of Parent Page including all other parents
- Need direction on a seemingly complex menu walker for automatically inserting a parent link li in it’s submenu ul
- Display all submenus
- Adding Sub Menu In a theme which Do not have Menu Options
- how to make a walker to this (in bootstrap, i try but not work)
- Custom navigation / menu output (walker?)
- Add acf custom fields so sub item in menus