Re: display username in members directory
In reference to:
No need to edit a template file for this. Try adding the following in your theme’s functions.php:
function my_member_username() {
global $members_template;
return $members_template->member->user_login;
}
add_filter(‘bp_member_name’,’my_member_username’);
I don’t want to mess anything up… There are 67 lines of code, in what area of the theme’s functions.php code do I paste the above mentioned code into