Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Social Icons Profiles BP

@sandyfischler

Participant

Ok, I created the font folder in my child theme and changed some of the icons to ones I like better but they still aren’t showing up on the profile.

Here is what is showing up under my name:
twitter.com/SandyFischler/" target="_blank" title="Twitter">Twitter www.facebook.com/sandy.fischler/" target="_blank" title="Facebook">Facebook"

Here is my code in functions.php

function bpfr_socialize_profile () {	

echo '<br>'; // don't remove !

if ( $data = bp_get_profile_field_data( 'field=Twitter ' ) ) : 
?>

<a href="http://twitter.com/<?php echo xprofile_get_field_data( 'Twitter', bp_displayed_user_id() );?>/" target="_blank" title="Twitter"><i class="fa fa-twitter-square"></i>Twitter</a>&nbsp;

<?php endif;

if ( $data = bp_get_profile_field_data( 'field=Facebook ' ) ) : 
?>

<a href="http://facebook.com/<?php echo xprofile_get_field_data( 'Facebook', bp_displayed_user_id() );?>/" target="_blank" title="Facebook"><i class="fa fa-facebook-square"></i>Facebook</a>		

<?php		
endif;
}
add_filter( 'bp_before_member_header_meta', 'bpfr_socialize_profile' );
Skip to toolbar