Frankly, I’d just use a single menu and then apply a CSS class (in the backend) to the navigation element you want the to be.
It’s simple enough to add a CSS class in the Menu editing pane, and that solves a lot of your difficulties since you can just check for the presence of that string in your custom walker.
Related Posts:
- wp_nav_menu custom walker – child items
- How do I separate link levels in a custom menu walker?
- getting the current sub item out of total sub items in a given dropdown (custom walker)
- Help with walker for nav
- How to add html attributes to the “ul” html tag with “wp_nav_menu” function?
- How to remove dropdown from wp_nav_menu
- Replace the slug of parent pages with # [closed]
- custom walker to add iconfont to wp_nav_menu
- How to count nav menu items?
- How to create this custom menu walker?
- Call custom field into menu item
- Add class to top level menu item if it has multiple child levels
- Simple Navigation Walker – Wrapper-class around first sub-menu
- Nav menu items disappearing (but not immediately)
- Extend walker – navigation, adding data attribute to a tag
- Check if wp_nav_menu items have submenus
- start_lvl on Walker is not working
- wp_nav_menu doesn’t generate parent/ancestor classes
- Nav walker, bootstrap: Display 3rd level items under 2nd level
- wp_nav_menu – page template name as item class
- Sub-Pages only of menu items in current branch using a custom menu
- `start_el` depth argument in custom nav walker always evaluates to zero
- Benefits of using Nav Walker?
- Use walker for specific menu, or avoid use of walker
- has_children in custom nav_walker
- Custom Admin Menu Order
- Counting top level items in a custom menu walker
- How can I add divs or change li in the submenu of the menu_nav
- Get number of root elements in walker class
- How to add wechat (weixin) link to navigation menu?
- Programmatically (PHP) get the nr. of items in the primary navigation menu
- Remove current class from sub menu items
- View h2 content tags of a page in sub menu
- How to add custom classes to more than one separate menu’s a link in wordpress?
- Change an li class name in a wordpress custom menu walker
- Custom walker nav – Add sequential number as class
- WordPress 3.5 dropdown menu
- Getting menu items like get_pages
- Menu item with no page, but with dropdown
- WP Menu Walker – How to know total depth from inside the start_lvl() method
- Add css class to dropdown
- How to create this Custom Walker Menu
- Using a shortcode to create a dropdown menu from wp_nav_menu list items
- Create a MegaMenu using a walker and the start_lvl function
- Menu in left side don’t appears with dropdown
- wp_nav_menu add class to child item with sub child
- Change submenu markup
- How to use a start_el variable in start_lvl
- Split into two seperate unordered lists with custom walker
- creating a custom walker class
- pull non-wp site into content area of wordpress -or- pull wp header into non wp site?
- Create custom page and add it in nav menu by code
- Using _s theme, menu changes do not affect header menu
- Wrapping link and .sub-menu with wp_nav_menu
- styling wp_nav_menu – horizontal, sub-menu drop downs
- Show children (sub-navigation) of active menu item only
- wp_nav_menu check both hierarchy fail?
- Insert menu with a custom walker into page / post body using shortcode?
- WordPress custom dropdown listings
- Walker Class: Output Parent Description and Featured Image right after sub-menu?
- Modifying the walker to insert parent’s description above sub menus
- How to add scroll IDs to WordPress menu anchors
- wp_list_pages Hierarchical Help
- custom walker class for own menu?
- How to get current pages menu text?
- How to create this kind of sub-menu in new line?
- Dropdown primary navigation menu not working
- Is there any way to change the CSS class applied to 2nd level sub menu ul’s?
- How to show only the last two categories in a menu?
- Add attributes to wrapper html generated by wp_nav_menu
- url_to_postid method in walker_nav navigation menu causing exceptionally high TTFB
- Structuring Nav Menu and Background Custom page (Help)
- Stuck while adding bootstrap navwalker class
- Adding additional html to the end of the root level in a custom nav walker
- wordpress custom menu – show parents, siblings, children depending on depth
- WordPress menu issue – if there are child links partents won’t click
- Nav_walker add id to dropdown ul
- WordPress customizing a walker menu class
- how do you create this customize menu using wp_nav_menu function?
- Displaying a part of a menu containing the page the user is currently viewing and only it’s immediate children
- WPML CMS Nav and Custom Nav_Walker Undefined Property Notices [closed]
- Add a data attribute to list item element in menu
- Conditional Nav Menu Inside Nav Menu Across Multisite Sites
- How to add odd and even classes to all nav links through walker?
- Output sort number in wp menu list item?
- Cannot add home page url to menu with #
- Check in walker if current page is descendant
- how to display wordpress navbar with top menu outside wordpress system
- Add dynamic content block to nav section generated by custom walker
- Customize Walker_nav_menu to show posts if item is category
- custom rearranged menu with excerpt for selected children in sidebar.php
- How can I modify wp_nav_menu with walker?
- Menu – custom structure
- Walker for menus
- Use wp_nav_menu to dynamically generate child menus
- How to add an tag when a menu item is a dropdown(or has a sub-menu) [duplicate]
- Broken drop down menu using Bootstrap and navwalker class
- how can i get the page_ID in nav li [closed]
- Add a page to a subscribers account
- Menu items do not “open” when mouse hover over them?