Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • @pbtam

    Member

    Hey modemlooper, I tried the line of code: bp_member_profile_data( ‘field=the field name’ );

    but it simply puts the line of code as text onto my groups page. is this because the data is in the members loop but not available in the groups loop?

    EDIT:

    I found a way to do it here: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/profile-fields-in-members-list-on-groups-page/

    the code used was this:

    <?php $location = xprofile_get_field_data('Location', bp_get_group_member_id());
    if(!empty($location)) : ?>

    @pbtam

    Member

    I checked the entry.php file in the theme/activity folder but I was unable to find an explanation to insert xprofile fields. Any hints?

    @pbtam

    Member

    Thanks for the advice Paul. This was incredibly helpful.

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar