Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,917
- How-to & Troubleshooting
- 129,136
- Creating & Extending
- 25,779
- Requests & Feedback
- 9,463
- Third Party Plugins
- 9,782
- Showcase
- 3,317
- Ideas
- 1,399
- Miscellaneous
- 9,162
-
You shouldn’t need the xprofile field loop.
Use something like this to grab the value directly:
$background_url = xprofile_get_field_data( 'ENTER YOUR XPROFILE FIELD VALUE', bp_get_the_site_member_user_id() );
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS