I want to tidy the menu class and remove the <li> ID tags, but return the class which is added by CSS Classes (optional) and current class.
Use a custom walker, change the content in function start_el().
I have written a sample walker you can start with, you have to re-add the classes tough.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago
2 years ago