Re: Help with new function
Jeff, just tried the function bp_core_get_user_displayname() and its throwing me a ‘undefined function’ error, I think this is why I didn’t use it in the first place.
Tried the above code, but unfortunately it didn’t work, I think this is because I am calling it on the member search page rather than a profile page. Where you have the ajax search and it displays the members, I want it so that the ‘username’ is also displayed per user as well as their ‘display name’ or full name.
I’m going to have a fiddle with the ‘get_var’ variable as I’ve seen this on the WP function reference but not tried it.
Obviously, if you can advise any more I would greatly appreciate it!
Thanks again