Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,545
- How-to & Troubleshooting
- 127,782
- Creating & Extending
- 25,648
- Requests & Feedback
- 9,391
- Third Party Plugins
- 9,716
- Showcase
- 3,317
- Ideas
- 1,329
- Miscellaneous
- 8,843
-
bp_displayed_user_avatar only works when used somewhere in a BuddyPress member loop, e.g. on a particular member’s profile pages, or in the member directory.
Do you perhaps want the logged-in user’s avatar? Use bp_loggedin_user_avatar instead (no need to call get_currentuserinfo() for it).
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS