Each theme has difference “theme location”, so when you change the theme, the “theme location” will change too. That mean there is no way you can hard code those menu to “theme location”. (That’s all I know)
Related Posts:
- Menu items description? Custom Walker for 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
- wp_nav_menu sort order?
- How to determine if custom menu is active?
- How do I check if a menu exists?
- Any walker causes blank menu?
- How to display wp_nav_menu() conditionally only when not on a 404 page?
- How to add menu support to a theme?
- Add a #hash to the links in my custom menu
- How can i change menu link when page content empty?
- Extend walker – navigation, adding data attribute to a tag
- 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
- how to change WordPress menu markup/classes
- Setting a Default ‘Theme Location’ When Creating a Menu
- Best practices: Custom theme sidebar menu – hardcode or widget?
- How do I highlight the menu for a child page?
- 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
- Where is definied the theme location for the main menu in a WordPress template?
- Second menu not showing
- How to remove class attributes from custom menu markup?
- menu behavior is not as expected
- Set default screen option for appearance -> menus
- Part of Menu Item Hidden on Header Menu
- which is the best way to customize nav-menu-template.php?
- Create wordpress header with custom logo in between the menu splitting the menu into two equal parts [closed]
- My Admin bar covers my sticky navbar [closed]
- WordPress is adding margins and padding to my custom menu?
- Menu item added in wp_nav_menu_items filter is never highlighted
- WordPress empty Nav Menu error
- multisite: global menu containing network site links?
- Single-level menu option? Another way?
- Using a page as home, how do I prevent nav from setting both home and page links active?
- Problem with empty class attributes when running a filter on nav_menu_css_class
- How to append to menu items selectively
- 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
- Override customizer values on a per-menu base
- Why does has_nav_menu return false when get_registered_nav_menus shows the opposite?
- 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?
- 3 Level Deep Navigation Menu Not Showing All Levels
- Why are some of my menu items not displaying on my menu?
- How to Create custom xml file for demo content for custom theme?
- How to add menù section to my WordPress template?
- wp_nav_menu and its fallback
- Theme development – Automatically menu creation
- How can i make multilevel menu in wordpress theme with bootstrap
- Theme development: How to add CSS classes to menu items?
- Navbar- disable “onClick” drop-down
- How to Emulate Default Navigation Menu Behaviour in a Custom Theme?
- Some doubts about WordPress handle the horizontal main menu visualization
- How to conditionally add a wp_filter
- Remove/Hide a Widget on a Custom Template
- Does wordpress add their own classes into nav menus?
- Custom menu: Link names
- Parent/Child pages
- 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
- how to create/register menu items that can be added to menus later
- Why nav_menu_css_class doesn’t work with apply_filters?
- Best way to give user the option to make a menu, mega menu?
- 3 Level Menu Navigation (3rd Level not displaying)
- Theme: dropdown hover menu not showing up in IE/Edge
- Pages not displaying as sections on static page
- Show all menu levels except top level. How to exclude top level of a menu?
- Menu names not getting translated
- Need help with adding custom wordpress menu and sub-menu
- WordPress menu walker – Get parent item text inside end_lvl function
- How to achieve this navigation style in wordpress navigation
- HTML TO WP Theme : Submenu goes down wp_nav_menu
- wp_nav_menu custom walker class
- Fallback dosen’t work when not using ‘menu’ attribute
- How to add custom nav_menu_css_class to certain menu only?
- WordPress doesn’t recognize submenus as so I can’t style them properly
- Primary Menu Showing All Pages With No Sub-Nav
- How to add drop symbol to parent nav items which have child
- How to add custom field option with menu?
- WordPress 3.9 two menus in same position?
- Main Menu Theme Different Output Print
- How can I change the title of the Home link in the navigation bar?
- How do I move menu to the bottom in Custom Community theme?
- How to make navigation a list without a plugin? [duplicate]
- How to highlight current menu bar base on the URL?
- 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]
- Why is wp_nav_menu() not removing the container around the nav ?