Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] How to display member profile data within the Group Members Loop.

  • @davec87

    Member

    Hi,

    Is there a way to display member profile data within the Group Member’s Loop. I am displaying member profile data within the Members Loop with bp_member_profile_data(). But within the Group Member Loop no luck. Is there a simple solution to displaying this info within the Group Member Loop? Thanks.

Viewing 1 replies (of 1 total)
  • @shanebp

    Moderator

    Try using xprofile_get_field_data().
    If you have a profile field called ‘city’, then:

    
    $city = xprofile_get_field_data('city', bp_get_group_member_user_id() );
    echo $city;
    
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] How to display member profile data within the Group Members Loop.’ is closed to new replies.
Skip to toolbar