[buddypress-trac] [BuddyPress Trac] #5444: Add a new argument for BP_Menu_Walker sub-menu item that allows you to filter the UL class.

buddypress-trac noreply at wordpress.org
Mon Mar 3 12:24:53 UTC 2014


#5444: Add a new argument for BP_Menu_Walker sub-menu item that allows you to
filter the UL class.
-------------------------+-----------------------------
 Reporter:  Bowromir     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Core         |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 Because the BuddyPress Navigation menus often are nested several layers
 deep, it would be nice if you could easily change the default nested <UL>
 elements generated by the bp_nav_menu function.

 For example it could be something like:


 {{{
 <?php
     bp_nav_menu( array(
         'container'         => false,
         'menu_class'        => 'dropdown-menu',
         'sub_menu_class'        => 'sub-menu'
         )
     );
 ?>
 }}}

 This would make it easier to quickly change the BuddyPress navigation
 menus to various themes and frameworks (foundation/bootstrap etc).

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5444>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list