Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!

for buddypress forum

By: valuser on Jan 21st, 2013  |  syntax: None  |  size: 0.24 KB  |  views: 350  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <div id ="first_name" class="item-meta"><?php global $current_site;  $user_id = bp_get_member_user_id(); $adata = xprofile_get_field_data( 'First Name' ,bp_get_member_user_id());if ( $adata ) echo "<span>First Name: $adata </span>"; ?></div>
clone this paste RAW Paste Data