Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp profile menu adding more menu items

  • Avatar of haagsekak
    haagsekak
    Participant

    @haagsekak

    @modemlooper
    you did an awesome job with creating the menu option for bp-profile-menu, thank you.

    Just one thing i noticed, i can’t add other menu items under the profile menu. I was able to do this before you created the menu option by editing the bp-profile-menu.php and adding

  • tags within the menu structure, so that these items only showed when user is logged in.

    But now when I used the add menu funtion instead it allows me to add the menu link and move it under the profile menu but now it shows like any other menu that is publicly viewable when not logged in.

    HOWEVER; once the user logs in then there menu items do show under the bp profile menu. So the key is to keep them hidden until user logs in.

    Any suggestions how to work around this? Should I edit the bp-profile-menu.php like before?

    Thank you for your feedback.

Viewing 4 replies - 1 through 4 (of 4 total)
Avatar of shanebpdev
shanebp
Participant

@shanebp

Wrap your code in back ticks `
to show it here.

Avatar of @modemlooper
@modemlooper
Moderator

@modemlooper

This will hide the menu item but the url wont route to a user

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

You must be logged in to reply to this topic.