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.
Leave a Reply
You must be logged in to post a comment.
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.
You must be logged in to post a comment.
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.