Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] How to create a dynamic link to "my profile"

  • Avatar of Florence
    Florence
    Participant

    @floortjahh

    I found a few topics about creating a my profile link in the menu. I just want a regular text link though. Is it possible to write in HTML?

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

    @chouf1

    ``< a href ="hxxp://example.com/members/MEMBER_NAME">MyProfile</a>`` ?

    Avatar of Florence
    Florence
    Participant

    @floortjahh

    Hi, thanks for your response. That doesn’t work, although that is the kind of solution I’m looking for. I guess it can’t be done without some PHP coding. Could someone explain how to achieve this to me in newb terms? I know a little bit about coding, and I’d be able to put some PHP into my post /page content using a plugin, I just wouldn’t know what to write. Any help would be greatly appreciated :) Thanks!

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    `<a href=”<?php echo bp_loggedin_user_domain(); ?>”>Profile</a>`

    Avatar of Florence
    Florence
    Participant

    @floortjahh

    Thank you kindly, that worked perfectly!

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

You must be logged in to reply to this topic.