There is a really good example on this page if you want to have a look and see if it helps – https://isabelcastillo.com/dynamically-sub-menu-item-wp_nav_menu
Related Posts:
- Dynamically exclude menu items from wp_nav_menu
- Why is ‘nav_menu_item_args’ filter’s $item argument empty?
- Third level navigation class
- remove specific classes from menu items
- Add a counter beside menu item label
- Possible to append class to nav menu added to widget area?
- Show thumbnail to category items in wp_nav_menu(), how?
- Is there an easy way to replace a custom menu link with a page or post?
- Add Javascript to WordPress Menu
- Add custom menu item using wp_nav_menu_items filter
- Filter wp_nav_menu()
- Custom search filter causes menu and query_posts problems
- Show just one level of child pages, wp_list_pages woe
- Use navigation path from menu for permalink
- add span class inside wp_nav_menu link anchor tag
- How to set limit only on top levels of wp_nav_menu?
- Show only 2nd level of navigation depending on active navigation
- Using filters to change href of nav menu page link
- How to get a different mobile menu than desktop menu in the twentytwelve child theme
- HTML Bootstrap navigation menu to WordPress menu using wp_nav_menu
- How to manually add an item to a submenu in a menu generated by wp_nav_menu?
- WordPress Export Import Site Navigation Menu
- Using Image Links in WordPress Navigation Menus Instead Of Text Links
- Is it possible to add a filter for the output of nav-menu items in admin?
- Bar separated navigation by extending Walker_Nav_Menu
- Disguise Multi-Page site as Single Page
- Replace menu tag with tag
- How to style current page menu item when using a walker
- Adding different classes to anchor in navigation menu
- Add Bootstrap dropdown class to a nav menu
- Search box as a menu item in the nav menu output by wp_nav_menu?
- How can I put two menus in the same div?
- BuddyPress – How to add logout in nav menu
- Second nav is merged with the first in mobile
- Nav Walker current menu item not displaying
- Using Shortcodes in WP-Menus in WP 3.1 (via nav_menu_objects)?
- Navigation (wp_nav_menu) refuses to nest within parent element
- Removing strip_tags not working on nav_menu_description
- Add custom menu item metabox in Navigation Settings
- Auto add pages to primary menu with functions.php
- Get admin menu link
- Hide Menu Unless Logged In
- how to remove the top navigation bar or header top on wordpress website?
- Highlight another nav item
- How to change theme header to support multiple nav menus?
- how can i add css class on current page in wordpress wp_nav_menu
- How to rewrite the output of wordpress nav menu?
- How to have the Header show different content on different pages?
- Add active class to top-level menu items when viewing single for that post type
- Programmatically add existing pages and subpages to Appearance Menu
- I want to hide the navigation menu on a particular page
- walker – 0 level on submenu formatting
- Static page to one page- menu inactive items highlighted
- automatically append menu parent as first item in submenu with nav_walker
- wp_nav_menu() doesn’t work
- Insert other menus as submenus of a main menu
- Remove nav menu item by script
- list category posts under its item in menu
- Does is_child() exist in wp 3.5.1?
- Using _s theme, menu changes do not affect header menu
- Show children (sub-navigation) of active menu item only
- Menu Arrow for Child Element
- Adding an external link to wordpress menu
- Twenty Fifteen: Change navigation menu behavior
- Switch an entire nav menu if user is logged in
- WordPress functions.php does not affect the theme menus
- Display Menu Navigation Label
- Menu is not displaying on the site navigation [closed]
- Wp Nav Menu div containers
- Updated WordPress, now Navigation is Messed Up
- need help in wordpress navbar setup
- Multi-Level Nav Bar
- Navbar is hidden behind carousel when using wp-boostrap-navwalker
- Change markup for just 2nd list element in custom Walker menu
- Additional CSS for the nav menu
- display cart information within li of cart menu item
- Add data-track to links in menu
- Is it possible to seperate wordpress menu by different div?
- How to add odd and even classes to all nav links through walker?
- Output sort number in wp menu list item?
- Check in walker if current page is descendant
- wp_nav_menu not selecting teh correct menu
- Active page link not getting class assigned
- Removing menu item doesn’t get removed on edit post
- Highlighting Main Navigation Menu With Two or More Class Matches
- Customize Walker_nav_menu to show posts if item is category
- Menu not always using correct link
- Where these arguments are defined?
- Add Protocol to Custom Menus
- Add custom ID to wp_nav_menu list items
- Show All Children of WordPress Menu
- How to make an anchored page in a navigation menu tab
- Creating an accordion style menu
- Two Homes In Navigation Menu
- How to set menu Display location
- Navigation menu displays permalinks
- Tried to hide navigation menu on one page ended up SCRAMBLING the navigation menu on another
- Add a new menu selector element into WordPress nav-menus.php
- How to add toggle-able DOM element after nav menu item?
- Primary menu item is not highlighting when page is active even though it is linked from a url with query string to pre-populate a form field