Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,455
- How-to & Troubleshooting
- 127,658
- Creating & Extending
- 25,621
- Requests & Feedback
- 9,375
- Third Party Plugins
- 9,703
- Showcase
- 3,317
- Ideas
- 1,315
- Miscellaneous
- 8,825
-
This will do the trick:
<?php global $bp; ?>
<a href="<?php echo bp_core_get_userurl($bp->displayed_user->id) ?>"
title="<?php bp_core_get_user_displayname( $bp->displayed_user->id, true ) ?>">
<?php echo bp_core_get_avatar( $bp->displayed_user->id, 1 ) ?></a>
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS