Found that I was including the Bootstrap.min.js from the footer.php and this caused the issues. When the URL was wrong in functions.php then the js called from Footer made the menu show correct but then gave a console error for the incorrect URL called in functions.php, while when both were called correctly they clashed.
By removing one of them it works fine.
Related Posts:
- Output the aria-labelledby parameter for a nav menu child
- Nav walker, bootstrap: Display 3rd level items under 2nd level
- Main Menu and Sub Menu Items for Footer
- WordPress Walker – Group two items?
- Stuck while adding bootstrap navwalker class
- WordPress nav Walker – Bootstrap 5.2.3 – submenu not opening
- Nav walker bootstrap: Display 3rd level and 4th level in dropdown menu
- Remove WordPress Menu Classes and ID with Bootstrap Walker
- Split up wp_nav_menu with custom walker
- Custom Nav walker display current menu item children, or siblings on no children
- Add a custom walker to a menu created in a widget
- Using a menu walker add a custom item at the end of the menu’s items
- Error “Trying to get property of non-object” with Custom Walker for wp_nav_menu
- How to count nav menu items?
- How Does The Walker Class Work?
- Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?
- How does a minimal menu walker look like?
- Display only page specific sub menu items using Custom Walker
- adding some custom html code to the wp_nav_menu function
- WordPress Menu Custom Walker Class
- How to create this custom menu walker?
- Call custom field into menu item
- add span class inside wp_nav_menu link anchor tag
- Multi Level Bootstrap Navigation Menu in WordPress
- Add class to top level menu item if it has multiple child levels
- Determine if a navigation item has children
- How do I pass an argument to my custom walker?
- How do I add the data-toggle=”modal” data-target=”#myModal” attribures to a WP Nav bar?
- Simple Navigation Walker – Wrapper-class around first sub-menu
- Bootstrap drop down menu with wp_nav_menu
- Custom Nav Walker menu – Display children count
- wordpress nav menu using twitter bootstrap
- Add Page ID class to nav menu items
- Using string instead of object class instantiation on the walker argument breaks wp_nav_menu
- Pass a parameter to a menu walker
- HTML Bootstrap navigation menu to WordPress menu using wp_nav_menu
- Adding attributes to link in wp_nav_menu using custom Walker function
- Walker_Nav_Menu: put custom code between a particular
- Show top-level parent with submenu menu walker
- Adding a class (arrows) to main menu links that have children?
- Custom nav walker with different output depending on depth
- Adding html elements to wp nav menu
- Bar separated navigation by extending Walker_Nav_Menu
- Bar separated navigation by extending Walker_Page
- Custom Nav Walker sub-menu HTML construct
- Check if wp_nav_menu items have submenus
- start_lvl on Walker is not working
- Customizing a walker menu class
- Add div to specific sub-menu
- How to add ID and class in nav menu walker?
- wp_nav_menu custom walker – child items
- How to remove trailing tags from wp_nav_menu walker
- How to add parent element’s title to nav menu’s child?
- Add Bootstrap dropdown class to a nav menu
- wp_nav_menu – page template name as item class
- Make compatible custom menu widget for Twitter Bootstrap
- Sub-Pages only of menu items in current branch using a custom menu
- Loop through Navbar, Output Icons
- `start_el` depth argument in custom nav walker always evaluates to zero
- Custom Walker anchor tag not inheriting attributes
- Indirect modification of overloaded property WP_Post::$classes has no effect
- Benefits of using Nav Walker?
- Check what “type” a menu item is
- Use walker for specific menu, or avoid use of walker
- How to display dynamic content in start_lvl function
- Getting post content within wp_nav_walker
- Add custom text to menu
- has_children in custom nav_walker
- How to add a tag to wp_nav_menu in a child theme
- Adding post excerpt into navigation menu
- Counting top level items in a custom menu walker
- How can I remove data-target=”#” from bootstrap dropdown menu?
- Use wp_nav_menu to display ALL pages
- Third level navigation class
- Make menu bootstrap compatible
- Editing WordPress Nav Menu Walker
- How to add a submenu toggle button inside all “li” elements that have a submenu?
- How can I add divs or change li in the submenu of the menu_nav
- Get number of root elements in walker class
- How to construct a custom html for submenus
- Get top items number from wordpress menu
- How to add class to and childs of sidebar widget – WordPress
- How to have two menus using Bootstrap nav walker?
- add span class and i tag inside wp_nav_menu link anchor tag
- How to Overwrite/Customize wp-admin/nav-menus.php in WordPress
- Remove current class from sub menu items
- View h2 content tags of a page in sub menu
- Change an li class name in a wordpress custom menu walker
- Use menu class in walker function
- Custom walker nav – Add sequential number as class
- How do I separate link levels in a custom menu walker?
- Add within the output of
- Getting menu items like get_pages
- wp_list_pages() but only show children on the branch you are on
- Walker class conditional based on parent menu item label or custom css class
- WP Menu Walker – How to know total depth from inside the start_lvl() method
- How to add ID attribute to each submenu?
- Side Menu Icon Expandable
- How to create this Custom Walker Menu
- Sub Menu does not display using Nav Walker