How to show custom profile fields in a template file?
I am trying to display custom profile fields within the group members loop (bp_group_has_members()), and have tried 2 different template tags that I found in other forum threads, but neither returns any data.
Here are the two modes I’ve tried:
xprofile_get_field_data( ‘Email’ ); where ‘Email’ is the name of the field on the form
bp_member_profile_data( ‘field_5′); where ‘field_5′ is the field’s ID
Does anyone know what I’m doing wrong? Or how to solve this problem?
The topic ‘How to show custom profile fields in a template file?’ is closed to new replies.