Try with adding this code into header.php, where menu usually appears. In functions.php you can declare custom menus, but you are calling them in header.php or wherever you want menus to appear.
Function register_nav_menus() declares menus and should go into functions.php, while wp_nav_menu() outputs menus you declared anywhere on the page (so not inside functions.php).
Related Posts:
- Is there an easy way to replace a custom menu link with a page or post?
- Add Javascript to WordPress Menu
- How to modify navigation menu of the “My Account” page in WooCommerce
- Custom ID for certain menu item?
- Add data-icon input to WordPress custom menu links
- Use navigation path from menu for permalink
- How to get a different mobile menu than desktop menu in the twentytwelve child theme
- How to highlight the right item in the navbar
- HTML Bootstrap navigation menu to WordPress menu using wp_nav_menu
- WordPress Export Import Site Navigation Menu
- Bar separated navigation by extending Walker_Nav_Menu
- Replace menu tag with tag
- How to style current page menu item when using a walker
- Adding different classes to anchor in navigation menu
- Number of items in a menu
- Add an extra field to the navigation menu box?
- How do i style the current menu anchor link’s parent anchor link? [closed]
- Does the menu item ID ever change?
- Hide and show menu subpages
- BuddyPress – How to add logout in nav menu
- Second nav is merged with the first in mobile
- How to add a parameter to links in the nav menu?
- Nav Walker current menu item not displaying
- Page-Linking Structure
- Navigation (wp_nav_menu) refuses to nest within parent element
- Add custom menu item metabox in Navigation Settings
- Get admin menu link
- wp_nav_menu including Skype URL
- Hide Menu Unless Logged In
- how to remove the top navigation bar or header top on wordpress website?
- Highlight another nav item
- How to have two menus using Bootstrap nav walker?
- How to change theme header to support multiple nav menus?
- Making a navigation header menu with bulma, need some advice
- How to have the Header show different content on different pages?
- Programmatically add existing pages and subpages to Appearance Menu
- I want to hide the navigation menu on a particular page
- walker – 0 level on submenu formatting
- Determine the last child of the parent menu WP Nav Walker
- automatically append menu parent as first item in submenu with nav_walker
- Navigation doesn’t render when wp is hosted
- wp_nav_menu() doesn’t work
- Remove nav menu item by script
- Make a navigation menu in the same post [duplicate]
- Does is_child() exist in wp 3.5.1?
- Get menus created with menu editor?
- Add span in top menu item with nested itens
- How to create a menu with pages and post categories?
- remove specific classes from menu items
- Missunderstanding of WordPress menus
- How to add schema.org SiteNavigationElement and property URL to navbar?
- Theme Location empty
- how to remove description from menu buttons?
- 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
- set certain item in nav walker to active when on archive pages or singles
- wp_nav_menu() | Outputting my own custom code using built in features
- Remove a class from a using Walker
- The cart, checkout, and shop links not getting removed
- Make two bootstrap menus collapse into one dropdown
- Switch an entire nav menu if user is logged in
- wp_bootstrap_navwalker Fatal Error
- Style wp_link_pages as a select drop down list
- Mobile navigation is shown, but standard navigation does not disappear
- Output Post ID for all nav_items
- changing the labels inside appearance -> menus for some for the fields
- Costum walker with sub menu item count
- How do I add 3rd level of dropdowns to wp_nav_menu array?
- WP Menu Rollover Nav Item and Effect DIV Elsewhere
- How to change the navigation menu
- Add/remove image from navigation bar
- Can I now add a class in the anchor of my menu item with WordPress 5.4?
- WordPress + Bootstrap: Replace primary navigation menu on mobile?
- WordPress nav_menu items from another menu appearing
- Multi-Level Nav Bar
- How can I order these pages in this navigation bar on this old wordpress theme?
- Change markup for just 2nd list element in custom Walker menu
- Additional CSS for the nav menu
- Add href to tag in nav menu for mobile
- Sub-Items Not Visible in Navigation
- Unable to remove page from primary menu
- Show navigation header menu by post and categery
- Add newsletter signup element to navigation bar
- How to Use Default Auto-Generated Menu?
- wp-nav menu with custom walker , how to remove a tag if it has any submenu
- Custom location for menu
- wp_nav_menu not selecting teh correct menu
- Highlighting Main Navigation Menu With Two or More Class Matches
- Remove from wp_nav_menu() wordpress
- Determine if a navigation item has children
- Second tier sidebar navigation
- wordpress superfish dropdown menu
- Add custom ID to wp_nav_menu list items
- Unable to edit Navigation bar
- Site pages show the page title under navigation bar
- Creating an accordion style menu
- Navigation menu, remove item from desktop
- Wrapping my ‘s with
- How can I structure my pseudo footer nav code with wordpress codex code?
- How to add a class directly on a unordered list element that is a primary navigation