SHARE
TWEET

Untitled

a guest May 6th, 2010 454 Never
  1. function stwc_website_link() {
  2.   $data = bp_get_member_profile_data( 'field=Website' );
  3.   if ( $data )
  4.     echo "<span>Website: <a href='{$data}'>{$data}</a></span>";
  5. }
  6. add_action( 'bp_directory_members_item', 'stwc_website_link' );
  7. //Not the best code in the world but should do the job.
RAW Paste Data
Top