buddypress / next-template-packs

is this the next BuddyPress template pack?
35 stars 9 forks source link

Use a loop and template parts to output all BuddyPress navigations #53

Closed imath closed 7 years ago

imath commented 8 years ago

7d509f935d32cefae9c624a3c5bcaab73775ddbd introduced a new Navigation Loop and a specific template part for the directory nav we've created in #16

Even if BuddyPress have interesting functions like bp_nav_menu() or filters to edit the output of bp_get_displayed_user_nav() and bp_get_options_nav(), imho and after some talks with site owners or theme designers it's not that easy to customize the nav to make it behave in nice ways with some layout frameworks like Twitter Bootstrap or any other of this type.

So what we did in #16 gave me the idea to build a more generic loop that could work for any object and add new template parts. For instance it's then very easy to add a class to the li element etc...

So i'm going to drop the use of bp_get_displayed_user_nav() and bp_get_options_nav() in BP Nouveau and add their filters to our forsaken hooks.

hnla commented 7 years ago

Closing - navigation hasn't presented any issues thus far.