Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] Display xProfile field groups

@shanebp

Moderator

Try fetching just one field. If you pass in an id, don’t make it a string.

$my_field = xprofile_get_field_data(10);
or
$my_field = xprofile_get_field_data(10, $user_id);

Because you’re in a sidebar, this may not work, but replace ‘Company’ with a field name and try:

$my_field = bp_get_member_profile_data( 'field=Company' );

Skip to toolbar