Hi Abdullah,
The plugin provide field types.What you are looking for is to add data on member listing. You will need to do that by modifying the member loop.
You can use the following code
echo xprofile_get_field_data("Field Name Or ID", bp_get_member_user_id(), 'comma' );
You will need to change the first argument of the function and put it inside your member loop.
Regards
BrajeshHi Abdullah ,
It needs modification in your theme and will depend on which theme/template pack you are using.If you are using a custom theme, Please contact the theme developer with above code and they will assist.
If you are not sing any premium theme, Please let me which template pack you are using and I will assist.
Regards
BrajeshThank you. I have received your message. Will update by tomorrow.
Regards
BrajeshHi,
Please add this to your function.phpadd_action( 'bp_directory_members_item', function (){ bp_member_profile_data( 'field=About' ); });
You can change ‘About’ to any field name.
Also, you can show multiple field data by adding more lines like
add_action( 'bp_directory_members_item', function (){ bp_member_profile_data( 'field=About' ); bp_member_profile_data( 'field=Field 2' ); bp_member_profile_data( 'field=Field 3' ); });
and so on.
Regards
Brajesh
You must be logged in to reply to this topic.