1

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.

fuxia
  • 107,219
  • 39
  • 255
  • 462
Sam.zeng
  • 111
  • 1

1 Answers1

1

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.

fuxia
  • 107,219
  • 39
  • 255
  • 462