You can to pass class into function arguments:
‘menu_class’
(string) CSS class to use for the ul element which forms the menu. Default
‘menu’.
So you can try this:
<?php
$args = array(
'menu_class' => 'nav header-nav header-bottom-nav nav-center nav-
uppercase',
'menu' => '(your_menu_id)'
);
wp_nav_menu( $args );
?>
You can read about WordPress Menus. I suggest the following:
http://www.wpbeginner.com/wp-themes/how-to-add-custom-navigation-menus-in-wordpress-3-0-themes/
http://codex.wordpress.org/Navigation_Menus
Related Posts:
- Walker or wp_get_nav_menu_items VS jQuery
- 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
- How Does The Walker Class Work?
- How does a minimal menu walker look like?
- How to create this custom menu walker?
- add span class inside wp_nav_menu link anchor tag
- How do I pass an argument to my custom walker?
- Custom Nav Walker menu – Display children count
- Using string instead of object class instantiation on the walker argument breaks wp_nav_menu
- Show top-level parent with submenu menu walker
- Adding a class (arrows) to main menu links that have children?
- Adding html elements to wp nav menu
- Bar separated navigation by extending Walker_Nav_Menu
- Check if wp_nav_menu items have submenus
- start_lvl on Walker is not working
- wp_nav_menu custom walker – child items
- Nav walker, bootstrap: Display 3rd level items under 2nd level
- Merge two separate WP menus into one in Mobile view
- Sub-Pages only of menu items in current branch using a custom menu
- Indirect modification of overloaded property WP_Post::$classes has no effect
- Benefits of using Nav Walker?
- Use walker for specific menu, or avoid use of walker
- Getting post content within wp_nav_walker
- has_children in custom nav_walker
- Counting top level items in a custom menu walker
- Main Menu and Sub Menu Items for Footer
- How to construct a custom html for submenus
- Create search form in menu as in Twenty Fourteen theme
- View h2 content tags of a page in sub menu
- Change an li class name in a wordpress custom menu walker
- Custom walker nav – Add sequential number as class
- How to add fixed position in menu class for Twenty Twelve theme?
- How do I separate link levels in a custom menu walker?
- WP Menu Walker – How to know total depth from inside the start_lvl() method
- How to add ID attribute to each submenu?
- walker – 0 level on submenu formatting
- Determine the last child of the parent menu WP Nav Walker
- Create a MegaMenu using a walker and the start_lvl function
- Difference between walker class and basic php
- Navigation doesn’t render when wp is hosted
- CSS_Menu_Walker not showing on mobile view?
- Change submenu markup
- getting the current sub item out of total sub items in a given dropdown (custom walker)
- How to use a start_el variable in start_lvl
- Split into two seperate unordered lists with custom walker
- How to add class to parent a tag with a sub menu
- How to actually make menu walker alive on admin interface?
- superfish.js seems it is not working properly after wordpress upgarde to 4.6.1
- Show children (sub-navigation) of active menu item only
- Wrapping menu’s top-level link and sub-menus in div
- Remove a class from a using Walker
- wp_nav_menu: Is there a way to modify the output of that got a submenu?
- Twenty Fifteen: Change navigation menu behavior
- How to convert the argument of wp_list_pages to an array
- How to change the menu mark up with walker_nav_menu class?
- Walker Class: Output Parent Description and Featured Image right after sub-menu?
- Modifying the walker to insert parent’s description above sub menus
- Drop Down menu expanded by default (on front page) [closed]
- wp_list_pages Hierarchical Help
- How to get current pages menu text?
- Costum walker with sub menu item count
- WordPress Menus – How to add inline styles to UL menus
- Hook or callback when wp_nav_menu() has completed
- How do I add 3rd level of dropdowns to wp_nav_menu array?
- Add attributes to wrapper html generated by wp_nav_menu
- WP Menu Rollover Nav Item and Effect DIV Elsewhere
- How to include second layer sub menu to Walker Nav?
- url_to_postid method in walker_nav navigation menu causing exceptionally high TTFB
- Add class to sub-menu from unrelated element
- How can I creat custom menu with bootstrap
- Structuring Nav Menu and Background Custom page (Help)
- Can I now add a class in the anchor of my menu item with WordPress 5.4?
- Stuck while adding bootstrap navwalker class
- Multi-Level Nav Bar
- 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
- Nav_walker add id to dropdown ul
- Change markup for just 2nd list element in custom Walker menu
- Menu walker: how to tell if a sub menu contains submenus?
- WordPress customizing a walker menu class
- How to remove a sub-menu using walker hooks/filters without relying on a custom walker?
- Extending Walker_Nav_Menu in wp_nav_menu List of Empty Items
- Parent link need to go first child submenu
- Custom wordpress submenu
- WPML CMS Nav and Custom Nav_Walker Undefined Property Notices [closed]
- Foundation Scripts not loading (custom theme)
- How to add odd and even classes to all nav links through walker?
- Output sort number in wp menu list item?
- Custom menu with Walker class – what should the $db_fields be?
- Is it possible to separate all submenu items?
- Check in walker if current page is descendant
- How can I edit submenu headings using wp_nav_menu walker?
- Specific Page that convert Hyperlink to anchor in nav menu
- jQuery not working when used with wordpress menu
- Customize Walker_nav_menu to show posts if item is category
- Determine if a navigation item has children
- Jquery dropdown menus working locally, but not in WordPress [duplicate]
- Using walker to display all menu branches at once?
- WordPress nav Walker – Bootstrap 5.2.3 – submenu not opening