Show additional fields on member profile header
-
I’m running WP 4.4.2 and Buddypress 2.5.2 on my site http://www.charlottemasoneducation.org
I’d like to add the member’s city and state to the member profile page right where it says when their last activity was.
I have added these fields in a theme-my-login-custom.php file in order for them to be part of the registration process to my private site which I’m using the TML plugin for.
From reading other threads, it sounds like I need to edit the member-header.php file?
Here is the section that I think I need to add code to. Can you please tell me what code I would need to add and where to add it in order to have those fields show up correctly?
<?php endif; ?> <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span> <?php do_action( 'bp_before_member_header_meta' ); ?> <div id="item-meta"> <?php if ( bp_is_active( 'activity' ) ) : ?> <div id="latest-update"> <?php bp_activity_latest_update( bp_displayed_user_id() ); ?> </div> <?php endif; ?> <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' ); ?>
- You must be logged in to reply to this topic.