[buddypress-trac] [BuddyPress] #2691: menu support

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Nov 4 14:52:21 UTC 2010

#2691: menu support
 Reporter:  DJPaul       |       Owner:  DJPaul  
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  1.3     
Component:  Theme        |     Version:          
 Keywords:               |  

Comment(by hnla):

 For the fallback_cb to bp_dtheme_main_nav why do we have the depth
 parameter for wp_list_pages set to depth=1 i.e parent / top level only?

 If set to depth=0
 All Pages and sub-pages are displayed (no depth restriction)

 Is that not preferable? users adding child pages will have them then
 correctly nested as ul childs of the parent, themers can display those
 nested elements as they wish ( BP default theme displays as dropdown
 /flyout links)

 Also apropos the new wp nav menus these do not handle child pages
 correctly or at least in the same fashion as wp_list_pages you cannot get
 nested ul rendering, only top level elements are generated. There is a
 depth parameter for nav menus but not sure what that is meant to be

Ticket URL: <http://trac.buddypress.org/ticket/2691#comment:4>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list