As toscho mentioned this can be done with the items_wrap
argument. It would be something like this:
'items_wrap' => '<ul id="%1$s">%3$s</ul><div id="MYDIV"></div>'
For more info see here.
Related Posts:
- Split up wp_nav_menu with custom walker
- How do I add a search box to the nav menu?
- How to get IDs for objects in menu branch?
- New post notification in wp_nav_menu
- WordPress Menu Custom Walker Class
- How to change order of menu items
- How to use a WordPress’ existing admin icon?
- Add Commas Between Menu Items?
- Show child pages by menu order using Superfish Dropdown menu?
- Bootstrap drop down menu with wp_nav_menu
- One site, 2 distinct sections: two different top nav menus?
- Can you have different menus and theme on a per-page basis?
- Adding a within ‘s from wp_nav_menu()
- Display link with current user’s username in it in Custom Menu
- Add class to menu ul with active child
- jQuery cookie not working properly in wordpress
- Make compatible custom menu widget for Twitter Bootstrap
- Check what “type” a menu item is
- Automatically generated menu
- Variables within wp_nav_menu
- Admin only menu/page
- wp_update_nav_menu_item not saving in multisite API
- Header style different on home and remaining pages
- wp_nav_menu_items filter :: custom menus fall outside ul class
- Add within the output of
- Add CSS to head depending on nav menu walker
- WP MU: Using pages from main site in other sites’ menus
- How can I add items to the menu via the PHP file?
- Limit the menu child levels under “admin > appearance > menus”
- WordPress warning: “private_to_published” Deprecated when creating nav with wp_update_nav_menu_item()
- display menus on all page except one?
- two different separate sections on the same site
- how to disable default menu classes
- How to customize submenus isn wordpress theme [closed]
- custom walker nav issue involving ajax
- How to add html attributes to the “ul” html tag with “wp_nav_menu” function?
- Can I have a different menu for each parent page?
- Conditional menu display
- Give child-categories same class (the parent category-slug) as parent in menu list?
- How Do I Add Images To Main Navigation Menu
- Combine 2 categories in one Menu item
- Wrap list parent in div with wp_nav_menu menu
- WordPress Menu Exchange On Tablet’s Orientation
- How to add a element with walker menu right after begin of the navigation tags?
- Custom Menu not functioning properly
- Using front-page.php need new blog page
- Is it still not possible to show separate submenu with “Custom Menu”?
- Rename the label on a menu location which is already defined?
- How to making dynamic URLs for menus in WordPress?
- Increase wordpress menu Depth
- How to hide the menu item created by the theme in WordPress admin panel?
- Custom menu walker – remove li tag based on class name
- Hide pages from the main menu
- How to customize the built in menu in wordpress?
- Current author archive in navigation menu
- Adding CSS-class to WordPress Menu in backend
- How to change the menu like this?
- How to get or know the slug of home.php
- Removing Submenu from Menu
- Set first level items to in wp_nav_menu()
- Difficulties filtering manage_nav-menus_columns
- How to create menu spread over four lines including images
- plus sign not working in widget “Header: Nav Menu”
- Do not hyperlink menu heading
- Adding conditional classes to wp_get_nav_menu_items
- WordPress menu items automatically becoming empty custom links
- Help with WordPress Custom Nav Walker
- Custom link missing as option in my ‘add menu items’
- Replace the page url with a menu link?
- Cannot collapse a responsive menu in WordPress
- Change hover to onclick on menu
- How can I get back the content of a sub-menu
- Only the index.php/homepage open while other pages are not opening
- Why my dropdown menu is effecting main menu?
- Does the Default theme of WordPress like 2016, 2017 and 2019 uses Walker_Nav_Menu Class
- WordPress Menu Navigation links not working
- How to apply individual menu item’s “CSS Classes” to , not ?
- Display_name in menu
- How to access into the description of a sub menu
- how to split vertical menu into two columns using walker nav menu
- Get Sub-Menu Dropdown to Show Over Page Content
- Foundation Scripts not loading (custom theme)
- How to Add Class in
- Menu Details Output in Javascript [closed]
- Get menu items problem
- Can’t add any menu items anymore, server related
- Can’t add optional class to menu item when using Walker_Nav_Menu
- How to display list of child pages with parent in wordpress?
- Theme: Twenty Thirteen Mobile Sliding Menu Doesn’t Bump Content Down
- Show content of subdomain from specific menu-item?
- Update nav menu item position programmatically
- Navigational error
- wp_nav_menu – Collapse with PHP
- How can I disable sorting/dragging of a menu item in the custom menu admin?
- How to add or remove borders in navigation menu?
- buddypress slug issues [closed]
- how to add permalink/slug to wordpress custom link menu item
- Using walker to display all menu branches at once?
- How to add a class directly on a unordered list element that is a primary navigation
- How to change WP menu item type?