Top Left Text cha

Website Development Services

I added this to the members' list (members-loop.php) in order to display a heart when the member is female...
<?php $gender = bp_get_member_profile_data(array('field'=>'Gender'));
                    if ($gender == "Female") { ?> <img src="/wp-content/uploads/heart.png" class="femaleIcon" /> <? } ?>

 



Comments   

0 #1 Jonathon 2015-01-20 03:57
Thanks for that little bit of info!
Quote

Add comment


Security code
Refresh

  • No comments found

Leave your comments

Post comment as a guest

0
Your comments are subjected to administrator's moderation.
X