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]
- How to add posts to custom menus?
- Display Menu Name using wp_nav_menu
- Strict Standards Error bootstrap navwalker
- How do I check if a menu exists?
- How to use logout function on custom menu link?
- How to display wp_nav_menu() conditionally only when not on a 404 page?
- 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()?
- WordPress nav_menu_css_class theme filter is not being called
- adding .current* tags to custom post types and taxonomies
- Create self-populating menu and add extra divs to the menu layout
- 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
- Is there an action for save_menu and/or update_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)
- WordPress navbar with logo in middle [closed]
- wp_post->post_parent object returning 0
- multisite: global menu containing network site links?
- How to make theme elements customizable in wordpress?
- Custom markup with wp_nav_menu based on pages
- Where am I doing wrong in my theme menu?
- 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
- Get the amount of posts on a given page
- How to Create custom xml file for demo content for custom theme?
- How should I use starter content utility to show some default menus?
- How to create and populate with few links a menu in child theme functions.php?
- Second menu has the first menu ID
- How to add menù section to my WordPress template?
- wp_nav_menu and its fallback
- Thesis -style Navigation
- Theme development – Automatically menu creation
- Theme development: How to add CSS classes to menu items?
- Navbar- disable “onClick” drop-down
- Some doubts about WordPress handle the horizontal main menu visualization
- how to hide home nav link in wordpress
- Seeting Active Nav for Bootstrap in WordPress
- How to conditionally add a wp_filter
- Remove/Hide a Widget on a Custom Template
- How do I display a greyed out next_post_link when there is no next post
- Parent/Child pages
- .current_page_ancestor broken in Twenty Eleven
- finding menu hierachy > wp_get_nav_menu_items
- How to substitute old wordpress menu by wp 3 menu the right way?
- Archives and Categories in Custom Menu
- WordPress custom menu can’t show 3. level submenu
- Best way to give user the option to make a menu, mega menu?
- Does single webpage do not need navigation to create a slug in permalink?
- Building a custom menu or use a plugin?
- Theme: dropdown hover menu not showing up in IE/Edge
- Menu is in Reversed order
- Move the social media icons to the left of a WordPress nav menu for Soledad child Theme
- How to know and change the machine name of a menu?
- WordPress menu walker – Get parent item text inside end_lvl function
- HTML TO WP Theme : Submenu goes down wp_nav_menu
- WordPress doesn’t recognize submenus as so I can’t style them properly
- Primary Menu Showing All Pages With No Sub-Nav
- After theme change the menus have to be manually linked to the corresponding theme location
- Horizontal Navigation
- What’s the policy for building a theme that doesn’t support widgets/menus?
- Problem with multiple menus in theme
- How can I change the title of the Home link in the navigation bar?
- Header links also appearing in the footer
- How to highlight current menu bar base on the URL?
- can’t add EVENT LISTENER to a element
- Global Navigation menu in diiferrent wordpress setups
- Bootstrap 4 mobile menu not working for WordPress Development
- Add wrapper for a specific sub-menu
- How to automatically set a Template Page Name next to a page in menu screen such as WooCommerce pages, front page, or posts page in wordpress?
- Dynamic nav menu with icons [closed]