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 can I reverse a list in Python?
- Difference between del, remove, and pop on lists
- How can I reverse a list in Python?
- What is the difference between Python’s list methods append and extend?
- Python – TypeError: ‘int’ object is not iterable
- Understanding slice notation
- Understanding slice notation
- TypeError: list indices must be integers or slices, not str
- IndexError: list index out of range and python
- Python – TypeError: ‘int’ object is not iterable
- How to convert list to string [duplicate]
- How do I get the number of elements in a list?
- Difference between del, remove, and pop on lists
- How to overcome TypeError: unhashable type: ‘list’
- How to avoid “ConcurrentModificationException” while removing elements from `ArrayList` while iterating it? [duplicate]
- Finding the index of an item in a list
- Difference between Arrays.asList(array) and new ArrayList
(Arrays.asList(array)) - Finding the index of an item in a list
- Accessing the index in ‘for’ loops?
- How to make a flat list out of a list of lists
- Convert list to array in Java [duplicate]
- Removing duplicates in lists
- TypeError: list indices must be integers or slices, not list
- Accessing the index in ‘for’ loops?
- What does the list() function do in Python?
- List changes unexpectedly after assignment. Why is this and how can I prevent it?
- Why does this iterative list-growing code give IndexError: list assignment index out of range?
- Converting array to list in Java
- TypeError: ‘float’ object is not subscriptable
- Is there a short contains function for lists?
- How to get the list of all installed color schemes in Vim?
- TypeError: ‘float’ object is not subscriptable
- Transpose/Unzip Function (inverse of zip)?
- appending list but error ‘NoneType’ object has no attribute ‘append’
- Converting array to list in Java
- Check if something is (not) in a list in Python
- Python: finding an element in a list [duplicate]
- How to avoid “RuntimeError: dictionary changed size during iteration” error?
- How to avoid “RuntimeError: dictionary changed size during iteration” error?
- Finding the average of a list
- Writing a list to a file with Python
- How do I concatenate two lists in Python?
- if else in a list comprehension
- How can I randomly select an item from a list?
- Print a list in reverse order with range()?
- Convert Set to List without creating new List
- Get unique values from a list in python [duplicate]
- Fastest way to check if a value exists in a list
- How to Sort a List
by a property in the object - How can I count the occurrences of a list item?
- TypeError: ‘list’ object cannot be interpreted as an integer
- Why is it string.join(list) instead of list.join(string)?
- Why is it string.join(list) instead of list.join(string)?
- How do I concatenate two lists in Python?
- if else in a list comprehension
- Finding median of list in Python
- Python set to list
- Python List vs. Array – when to use?
- How to find all occurrences of an element in a list
- Get list from pandas dataframe column or row?
- Finding and replacing elements in a list
- How to find all the indexes of a recurring item in a list?
- ValueError: max() arg is an empty sequence
- Remove list from list in Python
- python – if not in list
- How do I concatenate two lists in Python?
- How can I compare two lists in python and return matches
- Working with a List of Lists in Java
- Getting a map() to return a list in Python 3.x
- finding the maximum length of lists in c#
- Replace values in list using Python
- Append integer to beginning of list in Python
- List comprehension on a nested list?
- Append value to empty vector in R?