Display the User Profile URL of a Logged in User

When creating or customizing your BuddyPress theme, you may want to add a link to the user profile. By adding this function to the theme, you can display the user profile link. In the second snippet, you can see the function for displaying user profile link.

<a href="<?php bp_loggedinuser_link() ?>">My Profile</a>;

Comments  Leave a Reply

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!