Found the answer i’ve added changed the wp_nav_menu args to this:
wp_nav_menu(array(
'theme_location' => '',
'menu' => '',
'container' => '',
'container_class' => '',
'container_id' => '',
'menu_class' => 'menu',
'menu_id' => '',
'echo' => true,
'fallback_cb' => 'wp_page_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
'depth' => 0,
'walker' => ''
));
Related Posts:
- Add custom menu item using wp_nav_menu_items filter
- how to create a menu with all sub categories?
- Add separator to admin submenu
- How show sub menu only using wp_nav_menu()
- Show only 2nd level of navigation depending on active navigation
- How to get a separate child menu?
- Exclude one item from wp_list_pages( $args );
- Put a wp_nav_menu inside another one
- Add items to a menu dynamically
- Generate a Menu that displays all child pages of top level parent
- How can I add a sub menu to an existing navigation menu in WordPress?
- Check if wp_nav_menu items have submenus
- Add div to specific sub-menu
- Adding different classes to anchor in navigation menu
- Nav walker, bootstrap: Display 3rd level items under 2nd level
- Arrow down in menu not displaying
- Programmatically adding menu items function replicates in multiple menus
- Sub-Pages only of menu items in current branch using a custom menu
- Update Nav Menu Items Programmatically
- 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()
- next_post_link() on custom menu structure
- 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 construct a custom html for submenus
- Does loading of sub pages in menu cause load to the server?
- Show menu based on parent & ancestor
- Schedule Page to Menu [duplicate]
- Update body class based on 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?
- 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 customize submenus isn wordpress theme [closed]
- How to highlight 1st level menu item based on actual page
- Can I have a different menu for each parent page?
- Adding sub-menu item makes parent item unclickable
- Wrap list parent in div with wp_nav_menu menu
- 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]
- Adding toggle-able element after menu item
- Add (grand)child pages automatically to nav menu
- Creating menu always gives error A name is required for this term
- URL links consistent with menus?
- Replace anchor tag with span tag
- If current menu item is child or parent with child?
- How to check if current page is a parent item or child item in a given menu
- Removing Submenu from Menu
- Controlling sub-menu within sub-menu
- An alternative to WordPress’s built-in menu functionality
- Is there any way to change the CSS class applied to 2nd level sub menu ul’s?
- Set one or more menus as a submenus of another menu
- Custom menu with additional logic for display
- Add Different Class on Different Ul in twenty-twentyone theme
- insert an HTML element if there is a submenu only
- How can I creat custom menu with bootstrap
- Change hover to onclick on menu
- wp_nav_menu container style args
- WordPress + Bootstrap: Replace primary navigation menu on mobile?
- How can I click the parent menu then redirect to a special URL?
- Add CSS Class to WordPress Menu Item Dependent on the Page the User is Visiting
- Why my dropdown menu is effecting main menu?
- Menu walker: how to tell if a sub menu contains submenus?
- Where to place a svg chevron down in my custom walker?
- Add href to tag in nav menu for mobile
- Getting parent object_id of child menu items in WordPress menu
- Incorrect Behavior on WordPress Main Menu
- How to access into the description of a sub menu
- WordPress menu issue after update
- Importing large product categories into wordpress menu
- Adding span to a particular text in an menu item
- Displaying a part of a menu containing the page the user is currently viewing and only it’s immediate children
- I can’t correctly display menu
- Conditional Nav Menu Inside Nav Menu Across Multisite Sites
- 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
- Add a Submenu from Another Submenu in a Custom Theme
- How to display list of child pages with parent in wordpress?
- nav_menu: how to force a subpage switching on the parent menu
- Use menu structure for permalinks
- Adding two submenus to a menu
- 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
- ID of parent Menu
- Should I custom code drop down menus or use a wordpress plugin?
- nav tag wrapping around dropdown
- WordPress menu is getting automatically nested
- Add acf custom fields so sub item in menus