I have found my answer in this topic: Adding a class (arrows) to main menu links that have children?
It’s pretty genius actually. Copies the original walker function to add your html when the wp is writing the sub-menu uls. Thanks awesome guy.
Related Posts:
- Any docs for wp_nav_menu’s “items_wrap” argument?
- Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?
- Bootstrap dropdown nav pills not working with wp_nav_menu()
- Show child pages by menu order using Superfish Dropdown menu?
- Bootstrap drop down menu with wp_nav_menu
- How do I give class to the dropdown sub-menu in the wp_nav_menu?
- How to Create a Custom WordPress Navigation Menu with the Code?
- WordPress 3.5 dropdown menu
- Menu item with no page, but with dropdown
- Add css class to dropdown
- Using a shortcode to create a dropdown menu from wp_nav_menu list items
- Menu in left side don’t appears with dropdown
- getting the current sub item out of total sub items in a given dropdown (custom walker)
- How to add html attributes to the “ul” html tag with “wp_nav_menu” function?
- How to remove dropdown from wp_nav_menu
- styling wp_nav_menu – horizontal, sub-menu drop downs
- Replace the slug of parent pages with # [closed]
- wp_get_archives doesn’t take effect from css or html
- Adding archive years to my menu
- Nav menu classes ‘has-dropdown’ but no ‘active’
- Drop Down menu expanded by default (on front page) [closed]
- Custom menu – different submenu for first menu item
- dropdown menu, with walker
- Dropdown primary navigation menu not working
- Is there any way to change the CSS class applied to 2nd level sub menu ul’s?
- WordPress menu issue – if there are child links partents won’t click
- How can I create this menu with wp_nav_menu()?
- Responsive Dropdown Menu
- Foundation Scripts not loading (custom theme)
- Reveal hidden submenus on page load – Twenty Fifteen theme
- No indication of menu
- wp_dropdown_nav function to list menu items
- How to make a drop down menu with categories
- How to add posts with thumbnails to my dropdown menu?
- Should I custom code drop down menus or use a wordpress plugin?
- Keeping my Sub Menu open when hovering on its list items
- Jquery dropdown menus working locally, but not in WordPress [duplicate]
- Add a page to a subscribers account
- What is the best way to incorporate responsive dropdown navigation menu into custom theme?
- Menu items do not “open” when mouse hover over them?
- Icon not shown in Dropdown menus in Twenty Seventeen Theme
- Customizing Only a Specific Menu using the “wp_nav_menu_items” Hook?
- Generate a Menu that Displays Child Pages using wp_list_pages() with the New Menu Functionality in WordPress 3.0?
- How Does The Walker Class Work?
- WordPress Shortcode in Menu Item Title
- Calling the Menu Title within wp_nav_menu array function
- How to hide an item from a menu to logged out users (without a plugin)
- Large WP 3.0 menu times out and won’t save
- How to apply a class to the second word in menu list item?
- How to switch between the Primary Menus programmatically?
- Generate a Menu that displays all child pages of top level parent
- Terms with more than one occurrence have current-menu-item class in menu
- start_lvl on Walker is not working
- How to get Menu Navigation Labels to output HTML
- custom menu not found
- Pending Custom Link in Menu
- Benefits of using Nav Walker?
- Social Links Menu displays icon instead of text (twentyfifteen) [closed]
- has_children in custom nav_walker
- How to add wechat (weixin) link to navigation menu?
- Create search form in menu as in Twenty Fourteen theme
- Link that refers to a menu item with dynamically generated URL
- delete all post with certain meta_keys
- Make nav-menus.php available for editor
- how to add custom wp_nav_menu class css selector to ul and a tags?
- Split into two seperate unordered lists with custom walker
- How to remove UL class in wp_nav_menu?
- Use dashicons in menu items?
- Adding an external link to wordpress menu
- Menu separator appearing on next line
- Add a counter beside menu item label
- Why is my array of nav menus returning empty?
- Add pages content to startpage through custom menu
- Can you exclude child pages of a specific parent within a navigation?
- My menu doesn’t fit in the default screen in the mobile version
- How can I remove the navigation menu from a Page that is not on the menu?
- get_nva_menu_locations returns only filled ones
- Add attributes to wrapper html generated by wp_nav_menu
- How can I click the parent menu then redirect to a special URL?
- Stuck while adding bootstrap navwalker class
- use value returned from shortcode as menu item
- How do I display menu in header without loosing styles?
- Hiding specific navigation menus from specific roles in admin panel
- Create a menu item with a blank title
- Navigation bar is on live site but nothing under menu so can’t add in a page
- Displaying a part of a menu containing the page the user is currently viewing and only it’s immediate children
- WordPress adding Question Mark to URL when using Hashtags in Nav
- Mobile Menu Not Working
- wp_nav_menu list children if on parent page but sibling if on sibling page
- Programatically retreive page content from its template page
- Rogue current menu item class in wp_nav_menu()
- Use wp_nav_menu to dynamically generate child menus
- wp_nav_menu doesn’t show on index page
- Automatically add new posts to a specific menu name
- Elegant way of adding an CTA to a menu
- How to set menu Display location
- How to add custom menu to block theme?
- get menu name for the current displayed page
- Using walker to display all menu branches at once?
- How to add a class directly on a unordered list element that is a primary navigation