Skip to:
Content
Pages
Categories
Search
Top
Bottom

Easy way to add tab to profile

  • Avatar of Xevo
    Xevo
    Participant

    @xevo

    Hi buddypress community,

    I was wondering if there is an easy way to add a tab in the profile page (between friends/groups etc) and load some code on that page.

    Thanks!

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

    @becskr

    Hi Xevo,

    It depends how much you can code.
    You can add one using the bp_core_new_subnav_item() function.
    Let me know if you want more help – you should be able to find more info if you google it.

    This is a good example:
    Add tab to profile

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    Avatar of Xevo
    Xevo
    Participant

    @xevo

    This worked great, thanks guys!

    Avatar of ricardodakine
    ricardodakine
    Participant

    @ricardodakine

    How would you then add sub navigation links like what is under the Profile tab (personal, mentions, favorites, etc) to that new tab and change the content below? As an example, on the “SubNav” page to have links for link1, link2, link3

    I’m new and lost. Thanks

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

The topic ‘Easy way to add tab to profile’ is closed to new replies.