Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Use the \”bp user link\” in a wp theme


stargirl2
Participant

@stargirl2

Hi there,

I’m having this issue as well having tried all of the suggestions above – since this is marked as resolved could the OP or somone else who’s had this issue let me know what worked? I’ve been trying to use the link:

< a href=”<?php global $bp; echo bp_core_get_userlink($bp->loggedin_user->id); ?>profile”>My Profile< /a>

And, I don’t know quite enough about coding to know if this would make a difference (I wouldn’t think so!) but I have this within an if/else statement. This is in my main wp theme, not the bp theme.

Thanks for the help!

Skip to toolbar