List all subnav items within members main nav
-
I’m using what are currently the latest versions of WordPress and Buddypress – WordPress 3..6.1 and Buddypress 1.8.1. My site is http://www.thedoctorwhoforum.com/
I don’t need help with the site, but I’m currently working on a new responsive theme for it and was wondering if it is possible on a members page to list the subnav for each item within the main object nav list on every page. Is there a function to do that? Or a hack?
I’ve searched and searched but without success.
So, for example, instead of this on the /activity/ page:
- Activity
- Profile
- Forums
folowed by this:
- Personal
- Mentions
- Favourites
Would it be possible to produce a list something like this:
- Activity
- Personal
- Mentions
- Favourites
- Profile
- View
- Forums
- Topics Started
- Replies Created
- Favourites
I hope that’s clear. This would really help with the design and give me a lot more flexibility. I think other designers would love it too.
-
Just a bump. Anybody?
I think this would really advance Buddypress templating if it could be figured out.
It would give a choice of 2 different types of menu for template developers, enabling limitless possibilities.
Was rolled out a while back in 1.7 but isn’t yet in use in any BP theme, currently being implemented on the ‘TemplatePack’ project.
bp_nav_menu();
Thanks Hugo ( @hnla ) that’s fantastic. And thankfully so simple, I thought I was going to have to try and write it myself. 😕
Just implemented it and it seems to work like a dream.
I thought someone must’ve thought of it before as it’s such a useful addition.
Thanks again.
@craigm1970 I would like to do exactly the same with my buddypress user profile navigation.
Could you please tell me how you solved it to get the subnav under the main nav?Thanks a lot in advance
- The topic ‘List all subnav items within members main nav’ is closed to new replies.