My site's menu uses the built-in menu under Appearance >> Menus. I want to make a very simple change: I want to wrap each of my menu's second-level ULs in a DIV.
What's the simplest way to accomplish this?
|
My site's menu uses the built-in menu under Appearance >> Menus. I want to make a very simple change: I want to wrap each of my menu's second-level ULs in a DIV. What's the simplest way to accomplish this? |
|||
|
|
|
Use a custom walker. Extend the functions
Call it in your theme like that:
|
||||
|
|