[wp-trac] [WordPress Trac] #19499: Allow wp_nav_menu to return just the links (no <li> tags)

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 10 17:44:38 UTC 2011


#19499: Allow wp_nav_menu to return just the links (no <li> tags)
-------------------------------+------------------------------
 Reporter:  nohalfpixels       |       Owner:  nohalfpixels
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Menus              |     Version:  3.2.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by nohalfpixels):

 thanks, that worked as well (a little better as theres no need to replace
 parts of the string which allways seems cleaner).

 i still think this could be streamlined a little with the wp_nav_menu
 function.

 effectivley reducing what the function returns if the flag is set.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19499#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list