SHARE
TWEET

get profile field in buddypress

pablo2828 Mar 8th, 2013 306 Never
  1. This works in single profile page.
  2.  
  3. <?php $ud = get_userdata( bp_displayed_user_id() ); ?>
  4. <h2><?php echo $ud->profile_company; ?></h2>
  5.  
  6. But Doesn't work in members loop. I've tried this as well.
  7.  
  8. <?php echo bp_member_profile_data('field=profile_company'); ?>
RAW Paste Data
Top