Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: calling specific profile fields individually


peterverkooijen
Participant

@peterverkooijen

Doesn’t work for me. Field id ‘2’ is supposed to be company name in my installation, but this in the members_loop.php only displays name and last active:

<h3><a href="<?php bp_the_site_member_link() ?>"><?php bp_the_site_member_name() ?></a></h3>
<p><?php do_action( 'bp_core_directory_members_content' ) ?></p>
<p><?php echo xprofile_get_field_data('2'); ?></p>
<label><?php bp_the_site_member_last_active() ?></label>

Should I use bp_the_site_member_something(‘2’)?

Skip to toolbar