Support » Themes and Templates » Get menu links only

  • Hi all,

    I’m creating a template in HTML5. On navigatiom menu i need to implement something like this

    <nav>
     <a href="url1">url1</a>
     <a href="url1">url2</a>
     <a href="url1">url3</a>
     <a href="url1">url4</a>
     ...
     <a href="urln">urln</a>
    </nav>

    If i use ‘wp_nav_menu’, it prints <div><ul><li><a>, when i need just <a>. There is a way to get that? Thanks!

  • The topic ‘Get menu links only’ is closed to new replies.