menu_class
is indeed what changes the ul
class. What’s happening there is you didn’t set which menu to use:
wp-admin/nav-menus.php?action=locations
Related Posts:
- Customizing Only a Specific Menu using the “wp_nav_menu_items” Hook?
- How make top level menu item not have link, but have sub-menus that are linked?
- How to Hard Code Custom menu items
- How Does The Walker Class Work?
- How to stop mobile theme inheriting desktop navigation menu?
- Increase search results for Admin -> Appearance -> Menus -> Search (default is 10)
- Large WP 3.0 menu times out and won’t save
- How do I add the data-toggle=”modal” data-target=”#myModal” attribures to a WP Nav bar?
- How to switch between the Primary Menus programmatically?
- if role is logged in then do something
- Terms with more than one occurrence have current-menu-item class in menu
- Nav menu items disappearing (but not immediately)
- custom menu not found
- How to add text before WordPress menu item href
- Nav walker, bootstrap: Display 3rd level items under 2nd level
- Remove nav_menus from customizer using a theme
- Benefits of using Nav Walker?
- display only the wp_nav_menu, which has the current-menu-item
- Add tabindex to navmenu
- wp_list_pages sort order is different for different languages [closed]
- Remove Metabox from Menus screen
- I’m having a lot of trouble since upgrade to 3.0.1 with get_page_children() function
- How can I add a link to a WPForms “contact us” form to the main menu?
- How to fix “Supplied nav_menu_item value missing property” after update to WordPress 5.0
- Create search form in menu as in Twenty Fourteen theme
- Add link at the end of wp_nav_menu
- How to add programmatically all pages and children to backend menu
- WordPress 3.5 dropdown menu
- WP Menu Walker – How to know total depth from inside the start_lvl() method
- How do I add recent posts to the menu?
- Conditional secondary menus
- Create a MegaMenu using a walker and the start_lvl function
- Creating a menu containing categories and authors
- Change submenu markup
- Get page slug/id from position in menu
- list category posts under its item in menu
- Can’t add a setting to the “nav_menus” customizer panel
- Use another menu when logged in
- How to remove UL class in wp_nav_menu?
- Displaying menu based on login status
- Adding an external link to wordpress menu
- Highlighting top level link when viewing one of it’s sub-pages, which are not linked in the menu
- Make menu items open in new tab/page
- Adding top level items in the admin menu that link to a post
- How do I hide “Pages”, “Media”, “Comments”….for editor role?
- Twenty Fifteen: Change navigation menu behavior
- Need a menu on left sidebar of the page with below requirements [closed]
- add login menu with submenu
- How to make top level menu think it has a current item
- Generate Navbar In WordPress
- Showing home button in a specified menu
- Can you exclude child pages of a specific parent within a navigation?
- Registering a static menu?
- Add session or cookie to remember last menu location
- how to change menu titles
- sub.menu’s not working
- My menu doesn’t fit in the default screen in the mobile version
- How to change how WordPress renders navigation menu on Block Themes
- How To Add color-picker in theme options
- url_to_postid method in walker_nav navigation menu causing exceptionally high TTFB
- insert an HTML element if there is a submenu only
- wp_nav_menu container style args
- Structuring Nav Menu and Background Custom page (Help)
- Stuck while adding bootstrap navwalker class
- use value returned from shortcode as menu item
- How do I display menu in header without loosing styles?
- Select Menu On A WordPress Page
- How To Add The Help Scout javascript LiveChat from the WordPress menu
- Adding additional html to the end of the root level in a custom nav walker
- wordpress custom menu – show parents, siblings, children depending on depth
- add_theme_support( $feature=’menus’ )
- How to remove Nav-Menu tooltips? (Wp-Globus plugin)
- Build a one-page navigation within a non-one-page ttheme…
- Change menu for mobile
- Add class to specific li item menu in function.php
- WordPress customizing a walker menu class
- how do you create this customize menu using wp_nav_menu function?
- WordPress adding Question Mark to URL when using Hashtags in Nav
- Add a data attribute to list item element in menu
- wp_nav_menu list children if on parent page but sibling if on sibling page
- Ubermenu cant handle my menu, how to deal with large number of menuitems?
- When submitting more than 200 menus, I get “Service Temporarily Unavailable”
- Help with changing style of the extended menu drop down [closed]
- Where these arguments are defined?
- How do i keep my current page menu highlighted on pagination?
- How we show pages in dropdown
- Menu support for touch devices
- WordPress Flyout Menus
- Pick out specific menu item from code
- Show All Children of WordPress Menu
- How to make an anchored page in a navigation menu tab
- highlight parent page on menu when child page is on sidebar (and not on menu)
- nav tag wrapping around dropdown
- Resolve the debugs
- How to set menu Display location
- How to add custom menu to block theme?
- get menu name for the current displayed page
- Sub menu for a (single) page
- Add acf custom fields so sub item in menus
- change breakpoint widths for divi theme tablet view