Skip to:
Content
Pages
Categories
Search
Top
Bottom

Universal Profile Link

  • Profile photo 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)
  • Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

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

    Profile photo of royalvalley
    royalvalley
    Participant

    @royalvalley

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

    Profile photo of royalvalley
    royalvalley
    Participant

    @royalvalley

    Help? Anybody?

    Profile photo 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)
  • The topic ‘Universal Profile Link’ is closed to new replies.
Skip to toolbar