Re: Replace xprofile data with image
Ok, I can get the data to display by using the following:
<a href="<?php bp_profile_field_data('field=Facebook'); ?>"><img src="<?php bloginfo('stylesheet_directory');?>/_inc/images/facebook.jpeg"></a>
I suppose I could hard code every profile field I wanted to into the member-header, but if anyone has found a way to make this part of the loop, I’m all ears.