Skip to:
Content
Pages
Categories
Search
Top
Bottom

Universal Profile Link

  • Avatar of royalvalley
    royalvalley
    Participant

    @royalvalley

    Hi there! I want to get rid of my admin bar (I don’t need help with that) because I think it is one of the dead giveaways that I’m using WordPress. I want to make a link in the sidebar that will take a logged in user directly to their profile page (their profile they made on my site, not the WordPress profile that you configure in the dashboard). What code would allow me to do this?

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

    @shanebp

    <a href="<?php echo bp_loggedin_user_domain(); ?>profile/">My Profile</a>

    Avatar of royalvalley
    royalvalley
    Participant

    @royalvalley

    I input that code and I’m getting a 404 error.

    Avatar of royalvalley
    royalvalley
    Participant

    @royalvalley

    Help? Anybody?

    Avatar of PKRG
    PKRG
    Participant

    @pkrg

    Hi,

    This could help you, I’m using this code on my own site:

    <a href="/members/<?php bp_loggedin_user_username(); ?>/">profile</a>

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

You must be logged in to reply to this topic.