You can show certain profile fields on member directory by using the next function :

Note : You will have to adapt this function for your needs by changing the name of the fields Location and Specialization from example.

The function will have to be added in wp-content/themes/kleo-child/functions.php

If you have problem viewing the snippet copy code directly from here : http://pastebin.com/raw/QByiEAhH

Examples :
$location = bp_get_member_profile_data('field=Location');
$specialization = bp_get_member_profile_data('field=Specialization');

field=Location represents name of the field that we need to show in the member directory
field=Specialization represents name of another field that we need to show in the member directory

And so on..

Read also how to add your desired fields on the directory : https://archived.seventhqueen.com/kleo/article/add-extra-profile-fields-show-certain-profile-fields-member-directory

Log in with your credentials

Forgot your details?