Use the \”bp user link\” in a wp theme
-
Hi 2 all, i\’m new here.
My big problem is that i want to link user\’s bp-profile in a wordpress theme. I use the wordpress theme because the home has any news, but i want – for example – that when anyone comment the article, with a click you can go to buddypress profile, and not in the author.php.
I try with this code:
< a href=”< ?php bp_user_link() ?>”>< ?php bp_user_fullname() ?>< /a> (without space after “<“)
The fullname is empty (no results) and the link is at the opened page (as the \”#\”).
I think i must include any files… Anyone can help me??
Thanks so much!
- The topic ‘Use the \”bp user link\” in a wp theme’ is closed to new replies.