[buddypress-trac] [BuddyPress] #4629: New function which combines primary/secondary nav menus into one

buddypress-trac noreply at wordpress.org
Sat Oct 27 17:42:04 UTC 2012


#4629: New function which combines primary/secondary nav menus into one
-------------------------+------------------------------
 Reporter:  DJPaul       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by DJPaul):

 Replying to [comment:1 modemlooper]:
 > I looked over code and I think the best way to allow user
 arrangement/removal of items (using WP admin menus) is to intercept the
 sort order and use a menu from the admin.
 I think you'd be best to use bp_get_nav_menu_items() to do this, right?
 You can replace the menus' link/name/parent properties to map the details
 from the Menus admin screen.

 > BP could register a menu location maybe called user navigation, then the
 walker can detect if a menu is in this placement the sort the items from
 this menu. if no menu then it just defaults.
 Sure, but this is beyond the scope of 1.7.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4629#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list