Change submenu markup
I've seen people recommending to edit the wordpress default Walker to change the menu markup and create your own.
The problem with this is that I would like to change the markup of the submenu and leave the menu as it is.
In the walker function I only saw the functions start_lvl
and end_lvl
regarding the submenu creation.
The functions itself lack of very useful comments... so I understood that lvl
means "level" and with that they mean "sub-menu"...
But it doesn't seem to be any specific function to render the submenus. It seems they use the same one for the parent menu than for the submenu.
Any recommendation? I would like to create a menu like this and I'm having troubles.