Skip to:
Content
Pages
Categories
Search
Top
Bottom

Insert links to profile

  • @website-ladies

    Participant

    Hello,

    When I see a link related to a member in my Buddypress, it is like this :
    members/USERNAME/profile/edit/group/1/
    or
    members/USERNAME/profile/change-avatar/

    etc…

    I would like to know how to insert a link in a page depending on the name of the user… I just can’t figure it out…

    I need :
    – link to edit profile
    – link to edit profile picture

    I don’t want a menu, I want the php/html code to insert in a php file…

    Thank you !

Viewing 3 replies - 1 through 3 (of 3 total)
  • @leepoo

    Participant

    Hello.

    <a href="<?php echo bp_loggedin_user_domain() ?>settings/">Settings</a>
    <a href="<?php echo bp_loggedin_user_domain() ?>edit-details/">Edit details</a>
    <a href="<?php echo bp_loggedin_user_domain() ?>profile/change-avatar/">Change avatar</a>

    @website-ladies

    Participant

    Thank you very much for this input, I really appreciate it

    Best

    @zlato

    Participant

    Hi
    where oh how to put this code ?
    thx

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Insert links to profile’ is closed to new replies.
Skip to toolbar