Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • The furthest I got trying to hack my way through your suggestion was this but still got the same result:

    <?php $user_ID = get_current_user_id();
          $banner_image = 'Banner';
    
          echo bp_get_profile_field_data( array('field' => $banner_image, 'user_id' => $user_ID) ); ?>

    Any suggestions would be amazing help. Thank you so much

    I’ve been trying to figure out how to use that code. Do I need to set up a variable for both the field name and the current users name? I’m new to php, I apologize.

    Hi, I have just installed the latest version, this is my first time using the plugin.

    I am trying to give my users the option to upload an image to be used in my template as a “banner image” like on facebook profiles or twitter.

    The codes I have found for displaying the custom image url only
    returned this:

    <img src="http://mydomain.us/wp-content" alt="image">

    I have tried many codes including

    <?php echo xprofile_get_field_data( 'Banner Image' ); ?>

    and this one

    <?php echo  bp_profile_field_data( 'field=Banner Image' );
    	 do_action( 'bp_profile_header_meta' ); ?>

    Both sets of code show the same thing. Any suggestions would be great!

    This is on the underscores.me blank theme made for theme developement. The theme is fresh with no styling or script integrations yet. Just a blank theme. Please let me know any suggestions you have.

Viewing 3 replies - 1 through 3 (of 3 total)