Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Profile Field adds Award


Nick Watson
Participant

@nickbwatson

By the way, I have no idea why there are all those breaks. Ignore all the breaks in the code:

this is the real code

<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<?php if ( bp_get_the_profile_field_name() == 'Gender' ) {
if ( bp_get_the_profile_field_value() == 'Male' )
echo '<img src="male.jpg" alt="male" title="Male" />';
}
?>
etc etc etc
rest of the code

Skip to toolbar