[wp-trac] [WordPress Trac] #13793: Missing child_of parameter to wp_get_nav_menu_items

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 16 11:10:27 UTC 2010


#13793: Missing child_of parameter to wp_get_nav_menu_items
-------------------------+--------------------------------------------------
 Reporter:  DreadLox     |        Owner:         
     Type:  enhancement  |       Status:  closed 
 Priority:  normal       |    Milestone:         
Component:  Menus        |      Version:  3.0    
 Severity:  normal       |   Resolution:  wontfix
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------

Comment(by AdmireNL):

 Does anyone have a complete example for how to show a submenu in Wordpress
 3.0?
 I would like to show only the submenu of a parent in the sidebar, with
 'wp_nav_menu'

 For instance:

 mainMenu:
 HOME | SERVICE | CONTACT

 I woulde like to have a submenu with

 <h2>SERVICE</h2>
 - Service 1
 - - Service 1 a
 - - Service 1 b
 - Service 2
 - Service 3

 Help is much appreciated since I can't find a solution and searching for
 days.

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


More information about the wp-trac mailing list