Forums

Get menu links only (1 post)

  1. Iperdesign_IT
    Member
    Posted 6 months ago #

    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!

Reply

You must log in to post.

About this Topic

  • RSS feed for this topic
  • Started 6 months ago by Iperdesign_IT
  • This topic is not resolved
  • WordPress version: 3.2.1