Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: adding social images links to the page

@dromy

Participant

I have typed this and now it works without the image, can someone tell me why there is no image:

<?php $Usr_Url = bp_member_profile_data('field=facebook' );
     if ( !empty( $Usr_Url )) { ?>

        <a href="<?php $Usr_Url; ?>" title="My facebook">
        <img src="/wp-content/themes/formation-child/images/facebook.png" alt="facebook" /></a>
      
       <?php } ?>

output is only the text in the field. missing the image. why?

Skip to toolbar