Support » Fixing WordPress » How to output menu li items without spaces?

  • Hi, when I use wp_nav_menu, it generates the codes into

    <ul>
        <li>menu item 1</li>
        <li>menu item 2</li>
        <li>menu item 3</li>
        <li>menu item 4</li>
    </ul>

    I want it to output

    <ul>
        <li>menu item 1</li><li>menu item 2</li><li>menu item 3</li><li>menu item 4</li>
    </ul>

    Does anyone know how I can do that?

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How to output menu li items without spaces?’ is closed to new replies.