Create new template which can display member profile fields
bp_get_profile_field_data( ‘field=Location’ );
I am currently using these functions in members/single/member-header.php and they are working great.
However, I just created a new php file “members/single/member-overview.php” and when I try to insert these functions in there nothing shows up. What can I be doing wrong?
The reason for creating member-overview.php is i’d like to reuse its contents in a few places using something like:
locate_template( array( ‘member-overview.php’), true );
- The topic ‘Create new template which can display member profile fields’ is closed to new replies.