@dmotz
7 years, 8 months ago
Here’s the code (line 44 is: $address_field = boss_get_option( ‘boss_misc_profile_field_address’ );
</div><!– #item-header-avatar –>
<div id=”item-header-content”> <div class=”basic”> <h1><?php echo bp_get_displayed_user_fullname(); ?></h1><span class=”sep”><?php _e(‘, ‘,’social-learner’); ?></span> <h2 class=”user-nicename”>@<?php bp_displayed_user_username(); ?></h2> <?php $address_field = boss_get_option( ‘boss_misc_profile_field_address’ ); if( $address_field ){ $address = bp_get_profile_field_data( array( ‘field’=>$address_field ) ); if( $address ){ if(is_array($address)) { ?> <span class=”location”><?php echo join( ‘, ‘, $address );?></span> <?php } else { ?> <span class=”location”><?php echo stripslashes( $address );?></span> <?php } } } ?> </div>