Support » Themes and Templates » How do i format the output of wp menu nav.

  • I’m using the toolbox theme by automatic and the output of wp menu nav is a single line of code. Like this:

    <div class="menu"><ul><li><a href="">Home</a></li><li><a href="">About</a></li><li><a href="">Contact</a></li></ul></div>

    My question is, how to i insert breaks and spaces into this? I’d like to clean it up a bit. Like:

    <div class="menu">
    <li><a href="">Home</a></li>
    <li><a href="">About</a></li>
    <li><a href="">Contact</a></li>


  • The topic ‘How do i format the output of wp menu nav.’ is closed to new replies.