wp_nav_menu()
is the correct function to display a menu.
Is the default menu assigned to the location you’ve specified and if so, are there any items assigned to that menu?
Menus without any items assign will display pages by default. You could try adding the menu
param with a value of the name of your default menu.
Related Posts:
- wp_nav_menu(), how to change class?
- Add custom classes to anchor in wp_nav_menu
- How to add menu support to a theme?
- Extend walker – navigation, adding data attribute to a tag
- Displaying wp menus by name without using theme locations
- how to change WordPress menu markup/classes
- Setting a Default ‘Theme Location’ When Creating a Menu
- My Admin bar covers my sticky navbar [closed]
- WordPress is adding margins and padding to my custom menu?
- Primary navigation menu & footer not showing in category / tag page
- Using a page as home, how do I prevent nav from setting both home and page links active?
- how do i develop a global nav and local nav to be wordpress dynamic?
- Custom nav menu not showing
- Programatically Created Menu not Editable in Dashboard
- 3 Level Menu Navigation (3rd Level not displaying)
- Show all menu levels except top level. How to exclude top level of a menu?
- WordPress Menu item > Sub menu Class update
- Need help with adding custom wordpress menu and sub-menu
- How to achieve this navigation style in wordpress navigation
- Fallback dosen’t work when not using ‘menu’ attribute
- How to add drop symbol to parent nav items which have child
- WordPress 3.9 two menus in same position?
- How to make navigation a list without a plugin? [duplicate]
- wp_nav_menu_items callback not triggered
- Menu items description? Custom Walker for wp_nav_menu()
- How to add posts to custom menus?
- Display Menu Name using wp_nav_menu
- How can I display a menu on certain pages only?
- Add Caret to Menu Items with Sub-Menus in WordPress Theme
- How to limit wordpress menu depth in admin panel
- Strict Standards Error bootstrap navwalker
- wp_nav_menu sort order?
- How to determine if custom menu is active?
- How do I check if a menu exists?
- How to use logout function on custom menu link?
- Any walker causes blank menu?
- How to display wp_nav_menu() conditionally only when not on a 404 page?
- Return only top-level navigation items from a menu using wp_get_nav_menu_items
- How to add a section to the menus configuration, offering hard coded items?
- Problem with registering menus – What to do when other solutions aren’t working?
- Add a #hash to the links in my custom menu
- How can i change menu link when page content empty?
- Select menu on browser resize
- How to add (css) classes to only one wp_nav_menu()?
- Get last modified date for menu link
- Replace Home with image link inside custom header menu
- How to add nofollow to wp_nav_menu
- How to highlight the current page in the nav menu?
- How do I add a post to a menu
- WordPress nav_menu_css_class theme filter is not being called
- Best practices: Custom theme sidebar menu – hardcode or widget?
- How do I highlight the menu for a child page?
- adding .current* tags to custom post types and taxonomies
- Custom Nav Walker Displaying Values in Sub Menu
- how to set more than one menus to the same theme location
- Custom Nav Walker to show siblings and children of current branch?
- CSS won’t style output of wp_nav_menu() correctly
- Create self-populating menu and add extra divs to the menu layout
- Where is definied the theme location for the main menu in a WordPress template?
- how to wrap tag in tag html to wordpress menu conversion
- How to add categories to wp_list_pages()
- Second menu not showing
- How to remove class attributes from custom menu markup?
- .sub-menu or .children?
- 2 differen’t menus and it’s using same items in both
- menu behavior is not as expected
- Is there an action for save_menu and/or update_menu?
- Set default screen option for appearance -> menus
- Part of Menu Item Hidden on Header Menu
- wp_nav_menu add something before closing container and after last list item
- Find the Children of a Page then Echo it as a Bulleted List of Links (menu)
- which is the best way to customize nav-menu-template.php?
- Arguments ignored/markup changed in wp_nav_menu if no menu is selected
- Create wordpress header with custom logo in between the menu splitting the menu into two equal parts [closed]
- WordPress navbar with logo in middle [closed]
- Multiple WordPress Menus that will only display all pages
- Menu item added in wp_nav_menu_items filter is never highlighted
- wp_post->post_parent object returning 0
- WordPress empty Nav Menu error
- multisite: global menu containing network site links?
- How to make theme elements customizable in wordpress?
- Single-level menu option? Another way?
- Problem with empty class attributes when running a filter on nav_menu_css_class
- How to append to menu items selectively
- Custom markup with wp_nav_menu based on pages
- Custom Nav Walker Trouble
- How to set the currently active page in the menu including parents
- Issue on Adding A Class to Bootstrap Navbar Walker Dropdown
- Show woocommerce categories on my theme menu styling
- Where am I doing wrong in my theme menu?
- Custom Navigation build using wp_nav_menu and walker
- Override customizer values on a per-menu base
- Why does has_nav_menu return false when get_registered_nav_menus shows the opposite?
- Recommended method for updating/adding menus when adding new theme
- Admin: sub menu doesnt display under apperance when activate my themes
- Child Theme header1.php file not overwriting parent theme’s header1.php file
- Why wp_nav_menu() doesnt show the proper meny when invoked two consecutive times?
- Get the amount of posts on a given page
- How to develop a menu like wwe.com?
- 3 Level Deep Navigation Menu Not Showing All Levels