Forums
Home / Fixing WordPress / How to remove from wp_nav_menu
(@diufou)
12 years, 6 months ago
How do I get rid of the <ul class=sub-menu> from the nav when using [Code moderated as per the Forum Rules. Please use the pastebin]
NOW i want to get a code like this
<ul> <li class="hey"><a href="http://localhost/b">first</a> <div class="hey1"> <span> <a href="http://localhost/b/x">sub1</a> </span> <span> <a href="http://localhost/b/xx">sub2</a> </span> </div> <li class="hey"> <a href="http://localhost/b/www">second</a> </ul>