According to that Codex page, you need to use menu_id
. container_id
only effects the surrounding div.
Related Posts:
- wp_nav_menu: show menu only if one exists, otherwise show nothing
- Making breadcrumb with wp_nav_menu
- Renaming a WordPress Admin Menu
- Deleted pages are NOT removed from custom menus?
- How to add active class on current menu item page?
- Add Page ID class to nav menu items
- Way to bulk delete menu items in new 3.x Appearance > Menus system?
- WordPress nav_menu_link_attributes Not Working
- Customize the menu by adding items
- menu entries are lost
- Nav Menu and display post count
- Automatically Add New Tags to Sub-menu
- wp_nav_menu log in/out link?
- Accesibility problems with dropdown menus in twentyten theme or others
- Error “The given object ID is not that of a menu item” on menu with 40+ items
- TwentyTwelve child theme mobile menu not working
- Theme menu in Admin Panel
- How to target children of child pages
- How to insert custom code into wp_nav_menu structure?
- Adding post excerpt into navigation menu
- Editing WordPress Nav Menu Walker
- Convert WP Menu to a Drop Down for Mobile browser
- WordPress Admin Bar Covering & Overlapping Fixed Menu Header [closed]
- getting parent page id when using custom menu.
- Change name & menu_name for Profile in the default menu, w/o altering core files?
- wp-menu ‘automatically add custom taxonomy terms’ like it does for pages? [closed]
- Add custom external link to menu
- How I can overlap my menu in my header picture
- current-menu-item class in CSS
- Put class on instead li
- Tiles as a navigation
- How to make the Primary Menu stay the same in the PC and mobile versions of the Twenty Sixteen theme
- How to add notifcations to front-end menu for users when they recieved replies?
- Page content loading issue using Walker_Nav_Menu
- Changing status of Published posts which have less Content to “Draft”
- Main menu highlighting on subpage which is not in submenu but in hierarchy
- Using Zurb’s Foundation Tabs as WordPress Nav (Active Tab)
- Links do not open from click, only in new tab [closed]
- Create menu without admin panel
- a better menu, menu options assistance for WP
- Can I have custom post types in “Add menu items” on in the Admin > Appearance > Menu
- Add a custom class to nav li item
- Adding anchors in WordPress Menus
- Adding a unique ID to each sub-menu
- How to add css to single navigation text? [closed]
- Convert complex HTML menu to WordPress [closed]
- add page to main menu (frontend)
- Creating Menu Links in a Custom Theme
- My navigation menu isn’t working. What happened? Please help!
- How to add search to menu?
- Nav menu classes ‘has-dropdown’ but no ‘active’
- Add third level menu on wordpress
- How to list menu-item- ids in order for wp_nav_menu
- How to show pages in menu without link
- Drop down menus with wp_nav_menu or wp_page_menu
- Show wp_nav_menu() based on URL with no fallback
- Editing the nav menu?
- How to display conditional menus with Twenty-twenty two theme (and other new block themes)?
- Keep source page URL parameters on custom link menu item
- I’m trying to remove a duplicate menu, which only appears on the homepage?
- Embedding an external webpage within a page? Is it possible, is it a good idea?
- Add prefix to url, but products not showing in page SHOP
- How to remove empty line space in navigation menu?
- Create link/button to create new post using specific template
- WP Menu editor is hiding options for menu items
- Assign a different menu depending on custom taxonomy
- Appearance -> Menu editor completely unresponsive
- Custom menu is rendered in all menus
- javascript i wrote not working, can’t figure out why [closed]
- Classes CSS (Optional) – how do I reference this in php?
- Replacing nav-menus.php file with standard clean one?
- How to add limited items in WordPress menu?
- Making my main menu a hamburger menu on all platforms
- how to create pages and link them to a menu
- menu mobile show up even i in desktop mode in Newspaper Theme
- Outputting Page Title As Tooltip
- Creating custom Menu for custom theme
- Menu subitem doesn’t keep its position
- How to add class and span to
- Appearance > Menus
- extra tag is added in wp_nav_menu
- wp_list_pages, links only for pages with no children
- My WordPress menu based on Twitter bootstrap creates menu-item and not page-item
- Additional class for.sub-menu UL?
- who to limit number of li in wp_nav_menu
- Menu item added with “wp_nav_menu_items” gives “damaged” url
- How to call either page name as the nav link or navigation title?
- Customizing Responsive Themes Menu [closed]
- How To Conditionally Change Menu In Same Theme Location
- How to display a submenu as a popup when clicking a button?
- Add menu to CMS page
- Not even able to Log in [closed]
- how can i get the page_ID in nav li [closed]
- How do i add logo in wordpress studiopress (glam theme)?
- Primary menu shortcode name
- register_nav_menus and wp_nav_menu issue, not displaying independent menus
- Convert a custom bootsrap based menu to wordpress nav walker
- How do I get the menu items based on name or ID?
- Menu problem : when add wordpress element in menu it convert into empty custom link
- Problems with the navigation menu