The following snippets are helpful when customizing the members page on the members-loop.php file

Show the users email address:

<?php bp_member_user_email(); ?>

Show a custom profile field:

<?php $user_field = bp_get_member_profile_data('field=Phone');
if ( $user_field) {
echo '<div class="user_field">'. 'Phone: ' . $location . '</div>';

Show just the custom profile field:

?php bp_member_profile_data( 'field=Phone' );?>

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.