Forum Replies Created
Viewing 1 post (of 1 total)
-
Author
-
November 11, 2014 at 16:49 in reply to: Showing some profile fields in member’s profile header not working after update #35046KookidookiParticipant
Hi Sharmstr,
Sorry I’m wrong!
This was a fresh install with the latest versions of Buddypress and Kleo; no update of Kleo!
So of this fresh install I edited member-header.php:
…/wp-content/themes/kleo/buddypress/members/single/member-header.php and added the snippet code. See below (I’ve copy pasted the whole member-header.php file).
COPY CODE<?php /** * BuddyPress - Users Header * * @package BuddyPress * @subpackage bp-legacy */ ?> <?php do_action( 'bp_before_member_header' ); ?> <div id="item-header-avatar" class="rounded"> <a href="<?php bp_displayed_user_link(); ?>"> <?php bp_displayed_user_avatar( 'type=full' ); ?> </a><br> <?php do_action('bp_member_online_status', bp_displayed_user_id()); ?> </div><!-- #item-header-avatar --> <div id="item-header-content" <?php if (isset($_COOKIE['bp-profile-header']) && $_COOKIE['bp-profile-header'] == 'small') {echo 'style="display:none;"';} ?>> <?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?> <?php endif; ?> <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span><br> <div></div> <div id="member_profile"> <div class="profile_fields"> <span style="font-size:22px; color:#222222; font-weight: normal;"><?php bp_profile_field_data( 'field=Profession' );?></span> | <span style="font-size:22px; color:#222222; font-weight: normal;"><?php bp_profile_field_data( 'field=Location' );?></span></div><br><br> <div class="profile_fields"><strong>About Me</strong><br> <span><?php bp_profile_field_data( 'field=About Me' );?></span></div><br> <div class="profile_fields"><strong>Web</strong><br> <span style="font-size:14px; color:#00bcf2; font-weight: normal;"><a href="<?php bp_profile_field_data( 'field=Website' );?>"Website: <span style="color:#0067b4;"><?php bp_profile_field_data( 'field=Website');?></a></span></div><br> <br> </div> <?php do_action( 'bp_before_member_header_meta' ); ?> <div id="item-meta"> <div id="item-buttons"> <?php do_action( 'bp_member_header_actions' ); ?> </div><!-- #item-buttons --> <?php /*** * If you'd like to show specific profile fields here use: * bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field */ do_action( 'bp_profile_header_meta' ); ?> </div><!-- #item-meta --> </div><!-- #item-header-content --> <?php do_action( 'bp_after_member_header' ); ?> <?php do_action( 'template_notices' ); ?>
-
AuthorPosts
Viewing 1 post (of 1 total)