If you can live without re-creating the menu walker, you can add classes to menu items manually.
On the WordPress menu editing screen, click on “Screen Options” and enable “CSS Classes.” Then you’ll be able to add whatever class you want to whichever list item.
Creating a custom Walker for something like this will be complicated, to say the least.
Related Posts:
- How do I append lists in Prolog?
- Inorder Binary Tree Traversal (using Python)
- How to have a set of sets in Python?
- Learning Haskell: How to remove an item from a List in Haskell
- How to obtain a subarray in python 3
- Reversing a List in Prolog
- List Length in Prolog
- Editing a Post, 99% CPU?
- Similar posts formatting
- Introductory paragraph only in list of blog posts
- List all categories in options
- Change an li class name in a wordpress custom menu walker
- WooCommerce Grid / List view
- How to divide and display categories into two columns
- To get list of bottom most or deepest or last child for specified parent category
- List first letter of categories – issue upon spcecial characters (danish letters)
- How do I create an alphabetically organized glossary of links?
- Generate a nested list of all posts, sorted first by year, then by month
- adding a #hash to each link in list_pages()?
- How correct list-style displayed in firefox? [closed]
- Output categories in something different than a list
- Wrap Meta Box with and for each new line
- get_all_category_ids for bookmark
- Add thumbnails in ‘li’ list
- List child pages alphabetically
- How to make a text string into a bullet list [closed]
- How to avoid “ConcurrentModificationException” while removing elements from `ArrayList` while iterating it? [duplicate]
- Converting array to list in Java
- Transpose/Unzip Function (inverse of zip)?
- Get unique values from a list in python [duplicate]
- How to Sort a List
by a property in the object - if else in a list comprehension
- How to find all occurrences of an element in a list
- How to find all the indexes of a recurring item in a list?
- How do I concatenate two lists in Python?
- No Symbol Table using GDB on Compiled Programs
- Python: Get the first character of the first string in a list?
- How do I find the duplicates in a list and create another list with them?
- Remove all occurrences of a value from a list?
- Removing Punctuation From Python List Items
- How to append multiple values to a list in Python
- Create a List of primitive int?
- How can I create an array/list of dictionaries in python?
- How to sort a list/tuple of lists/tuples by the element at a given index?
- How to multiply all integers inside list
- List of Arrays in Java
- How to remove square brackets from list in Python?
- How to add List<> to a List<> in asp.net [duplicate]
- How to create a list of objects?
- C# Convert List
to Dictionary - Circular list iterator in Python
- How do I join two lists in Java?
- Does Python have an immutable list?
- wp_nav_menu: show menu only if one exists, otherwise show nothing
- Does Extending Multiple Nav_Menu_Walkers Allow Nested Menus?
- Display only page specific sub menu items using Custom Walker
- How can I display all values of a custom field from posts with a certain value of another custom field or from certain post types?
- Add Page ID class to nav menu items
- Getting an ordered list of tags – via wp_tag_cloud or not?
- Pass a parameter to a menu walker
- Walker class: Problems with understanding how walk() method can be called without error
- how to conditionally add attributes to start_lvl() function?
- Adding post excerpt into navigation menu
- How to use “offset” to paginate get_users?
- Editing WordPress Nav Menu Walker
- How do I create page navigation linking to each H2 within the page? [closed]
- Use menu class in walker function
- Getting menu items like get_pages
- How to create this Custom Walker Menu
- A to Z List of Custom Post Type in three columns
- Extend Walker Class for 2 checkbox taxonomy selection?
- Trying to store submenu items to render out after main menu
- List pages to show only Whitelisted sub pages
- Can I use multiple nav_walkers?
- creating a custom walker class
- How to replace “Password Protected” text with icon in Admin
- wp_nav_menu check both hierarchy fail?
- List custom field values in alphabetical order without repetition
- Insert menu with a custom walker into page / post body using shortcode?
- How to display different submenus?
- Get a list of ACF Repeater-Fields as array
- How to add scroll IDs to WordPress menu anchors
- Editor role can only create/edit/delete users who have one of two roles
- Create Columns with Custom Walker and CSS Classes
- How to show only the last two categories in a menu?
- How to get all wp_posts in wordpress fetched from database
- Add homepage to the list of pages in the Footer Widget
- Drop down list code for sidebar
- How to get the term id inside the start lvl method of category walker?
- Hierarchical Custom Post Type Walker?
- Cannot add home page url to menu with #
- Add custom class to existing menu items from custom meta
- List all pages using a specific template on a page
- Add dynamic content block to nav section generated by custom walker
- How can I modify wp_nav_menu with walker?
- Walker for menus
- List posts that are in the same category as the current post title
- how can i get the page_ID in nav li [closed]
- Moving Blog and Changing URL
- Using walker to display all menu branches at once?