Customized wp_nav_menu()
-
<div class="example"> <h1>Menu</h1> <ul> <li>sub-menu</li> <li>sub-menu</li> <li>sub-menu</li> </ul> </div><!-- end of example --> <div class="example> <h1>Menu</h1> <ul> <li>sub-menu</li> <li>sub-menu</li> <li>sub-menu</li> </ul> </div><!-- end of example -->
I’m trying to make a menu with wp_nav_menu() and I want to achieve a clean code like this. I’m trying to do it with a custom walker but I don’t have experience with this. I think I have to overwrite a class but …
My idea is using h1 tags to menu items and and unordered list to submenu items.
Coud you help me with the code?? Thanks for all
- The topic ‘Customized wp_nav_menu()’ is closed to new replies.