Skip to:
Content
Pages
Categories
Search
Top
Bottom

List all subnav items within members main nav

  • Avatar of CraigM1970
    CraigM1970
    Participant

    @craigm1970

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of CraigM1970
    CraigM1970
    Participant

    @craigm1970

    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.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    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();

    Avatar of CraigM1970
    CraigM1970
    Participant

    @craigm1970

    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.

    Avatar of kansas3d
    kansas3d
    Participant

    @kansas3d

    @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

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.