Create new template which can display member profile fields
-
bp_displayed_user_fullname();
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 );
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Create new template which can display member profile fields’ is closed to new replies.