Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Regarding about custom field display

@danbp

Participant

HI,

basically when outside of the members loop, you call a profile field value with xprofile_get_field_data() function.

Positionning that information below a blog post depends of the theme (you’re using a premium one – so i ignore his code and can’t help). Usually, the post template has some action hooks where you can hook the bp function. If not, you create one via child-theme…

And finally, assuming the field is called “Biography”, you have to write your own function containing at least something like:

$user_id = get_the_author_meta( 'ID' );

$bio = xprofile_get_field_data( 'Biography', $user_id );

echo $bio;
Skip to toolbar