Get menu links only (1 post)

  1. Iperdesign_IT
    Posted 4 years ago #

    Hi all,

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

     <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>

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic