Skip to:

Profile link?

  • I have personalised my bbpress forum and want to add a link on the page to allow the user to edit their profile (I have removed the original, “Welcome….” section at the top)

    What do I need to link to for the page to redirect the user to their profile?

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

  • _ck_


    I think it will be something like this

    <?php echo '<a href="'.get_profile_tab_link( bb_get_current_user_info( 'id' ), "edit" ).'">edit your profile</a>' ?>

    (untested) the “edit” part is just a guess…

    get_user_profile_link(bb_get_current_user_info( 'id' )) will get the profile link for general stuff, not the edit tab.

    Cheers that seem to do the trick.

    One other question, what do I inset to get to ??

    sorry – ignore the above – you’ve already told me – cheers for your help!

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