3 years, 7 months ago
So, when I am logged in I can click on “activity” and the link is http://www.myurl.com//members/username/activity/
Is there a way I can make a link/links that will do that for each member… say an activity link that will work for everyone?
You have a number of ways to build links to member profile:
Outside the loop, you can pass the member’s user id to bp_core_get_user_domain()
Inside a members loop, you can use functions such as bp_get_member_permalink(). Look up member loops in the Codex for more information on this.
3 years, 4 months ago
@Roger Coathup: thanks for the tip.
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service