Skip to:
Content
Pages
Categories
Search
Top
Bottom

Looking for the code to customize Buddypress menu


  • naomibuch
    Participant

    @naomibuch

    Hello…

    I am using Menubar plugin to build a customize menu instead of the WordPress menu, because it gives me a perfect horizontal mobile responsive menu.

    Problem is I have logic built in my function theme file that hide the registration menu when users are logged in and the logon menu is hidden when users are logged in.

    I would like the actual navigation code links that BuddyPress uses for the Registration and Login Pages.

    Thanks

    Naomi

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

  • mytubepress
    Participant

    @mytubepress

    If I’m not wrong in new buddypress 3.x you can use the customizer to make it vertical.


    naomibuch
    Participant

    @naomibuch

    Hi,

    Thanks for your reply….but I already have a horizontal mobile menu and it looks great, the problem is getting the registration and the log in menu items to work when they are clicked on.

    I am looking the same built in BuddyPress navigation functionality that’s built in WordPress to work in my custom menu when users click on the Registration menu and the Log in menu.


    naomibuch
    Participant

    @naomibuch

    Maybe I should be clearer ….The Buddypress navigation css code in WordPress menu that works is bp-menu bp-login-nav to log in my website but when I put the same code in css class in the Menubar plugin it doesn’t work….


    naomibuch
    Participant

    @naomibuch

    Hello…

    I figured it out…somewhat….the only thing that don’t work correctly is the logic where when the user logs on the registration stays, it’s not hidden….


    mytubepress
    Participant

    @mytubepress

    try nav menu roles plugin, it will hide the login or register menu items if the user is logged in.


    Venutius
    Moderator

    @venutius

    Ah got you, I can confirm clicking on blog based notifications does not clear the notification.

    Could you raise a bug report on Trac?

    https://buddypress.trac.wordpress.org/

    Once you’ve done that I’ll add some comments about my own testing.


    naomibuch
    Participant

    @naomibuch

    @mytubepress …Unfortunately that plugin does not show under Appearance Menus….

    @venutius The Registration is visible when I log in so is the log out menu….there is a PHP/link option where I can add PHP code and link in the MenuBar Plugin….but when I copied the code that I already have in place in my function theme file it crashes my site….does any one have a fix for this to hide the Registration menu and login menu …WHEN LOGGED IN

    Thanks
    Naomi


    Venutius
    Moderator

    @venutius

    That’s a bit strange, I was responding to a different thread and it got put here.


    stokim2012
    Participant

    @stokim2012

    @Venutius
    I experienced same thing 10 minutes ago. I clicked my thread and this thread was shown up.
    Bug report +1 haha JK


    Venutius
    Moderator

    @venutius

    IF you can put in PHP then you’d just need to check is_user_logged_in() and if true hide login/register and if false hide logout.

    I use Nav Menu Roles for this in WP menus, if you can’t can’t use that with menubar I suggest calling on their support.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.
Skip to toolbar