If you want to add different classes to each menu, you can do that by JS. In JS just add a array, where you should save corresponding menu and it’s class. and run a each loop to add classes to menu.
Related Posts:
- Display a portion/ branch of the menu tree using wp_nav_menu()
- Dynamically exclude menu items from wp_nav_menu
- Display only page specific sub menu items using Custom Walker
- adding some custom html code to the wp_nav_menu function
- non-clickable placeholder in the menu
- How to Move the Author Metabox into the “Publish” metabox?
- How do I give class to the dropdown sub-menu in the wp_nav_menu?
- Ways to give a wp_list_pages menu link specific class names?
- I want remove last after wp_nav_menu
- Add log in link to menu in Twenty Twelve
- Organizing by super-categories (or nested categories)?
- wp_list_pages – show pages immediately 1 level below current level
- Add within the output of
- how to automatically generate hierarchical menus from hierarchy of pages?
- How do I get my wp_nav_menu single category page to highlight the parent?
- Add sidebars to navigation menu?
- Where to update the Static Pages Blacklist for Multisite Install?
- How to create a category menu?
- Adding a ‘mega menu’ to my site without a plugin
- Vertical Sidebar Menu Parent and Child not displaying correctly [closed]
- Hide Menu items base on capability
- How to show Home Page link in WordPress Menu and how to add an icon to this?
- Remove li from wp_nav_menu
- Outside the loop, how can I echo the current page’s menu title?
- I am facing a problem with the navigation menu of my website
- Menu link to all posts (all categories included)
- How do you return a menu with the menu name?
- do_action appearing outside of menu?
- two menus show different menu based on what menuitem is selected on menu1
- Appending a GET-Variable to wp_nav_menu
- You do not have permission to create Navigation Menus – Twenty Twenty-Two theme
- Walker class conditional based on parent menu item label or custom css class
- ‘wp_get_nav_menu_items’, when fired inside of the ‘wp_update_nav_menu’ hook, returns old menu items, instead of new
- Menu custom link not working for external site
- How to override the theme home page?
- custom walker class
- Sticky Header in WordPress using BootstrapWP theme [closed]
- Walker Class – Check if menu item has description and if so add class to li
- Multiple languages menus problem
- Displaying different page links on different pages
- register_nav_menus, then create menus programatically
- How can I switch pages?
- How to override menu markup?
- How to remove dropdown from wp_nav_menu
- How can template identify what page it’s being used on?
- Automatically Display Sub Menu
- Recent Posts widget missing current_menu_item class
- Custom Post Menu link reverting to Blog menu item
- WordPress custom Nav Walker
- Highlighting Active Page in Navigation when Viewing Child Pages
- In admin edit-menu screen, newly added menu items always go to the bottom of the list
- Static site menu with multiple ul’s to wp menu
- How can I make wp_nav_menu() support tags?
- Filter to hook into menu items and add a custom attribute
- Adding a tag to wp_nav_menu
- Adding Pipes to Menu Output
- select a main navigation menu per user type from multiple main navigation menus
- wp_nav_menu li item empty
- Custom Menu in Themes not working even in Twenty Eleven theme
- Using CSS ID’s and Classes with images in a WordPress Horizontal Menu
- Determining the “current_page” in WordPress Custom Menus
- Child pages don’t become submenus (as in the twenty-ten theme)?
- Secondary Menu Not Functioning as a Sticky Menu
- Menu elements load very slow
- cannot get global $menu value in form request
- Show Sub Menu on click and not hover
- Nav Menu: Theme Location not working
- Remove Link from WordPress Menu
- is MariaDB error related to Automatically add new top-level pages
- WordPress menu walker – help to add custom class for each submenu
- What is inside in $item in start_el function in Walker_Nav_Menu class
- How to make a section id menu w/multiple pages
- choose selected for select option with condition [closed]
- Menu doesn’t open on mobile
- wp_update_nav_menu also triggers post_updated
- Disable Top Nav Bar on Mobile
- Menu location switcher – example code fails
- Problem with positioning of the menu in custom WP style
- WordPress Menu Customizer
- Show post titles within WordPress bootstrap Dropdown menu
- Programmatically add a Navigation menu and menu items
- Site-wide tabs at WordPress website?
- How to make menu output links absolute
- Change header menu login-logout without changing main menu
- Importable Menus? Along with Pages (a site layout template)
- Menu Structure with Links failure to update
- How do I remove a menu from a theme?
- Access CSS Classes specified in Menu options
- Query for menus in backend (BE)
- How to output the menue structured for tabbed navigation?
- Add more levels to menu
- Custom Menu based off custom header
- WordPress Navigation
- Showing Custom Menus in the sidebar
- Adding an additional menu in WordPress
- Making current_page_item work with wp_list_pages in sidebar on post pages
- My Menu Disappears on my Custom Link Homepage on Mobile
- How to centre menu items on horizontal nav bar? (e.g. make margins equal) [closed]
- Display sub menus as separate lists
- Menu problem : when add wordpress element in menu it convert into empty custom link