This topic has 5 replies, 3 voices, and was last updated 9 years by kobrakai75.
-
Author
-
November 22, 2014 at 03:00 #36339kobrakai75Participant
Hi folks
I’m looking for a way to display the users first name + last name on my BuddyPress (w/Kleo) site.
I changed the Primary field of “full name” to “first name” and then added my own field for “last name” on the Registration page, so the first and last names of a new user are required to be input into two separate fields.
I’ve looked on the forum here and in several other places but haven’t found exactly what I’m looking for. I’m hoping someone has figured out a method to combine first name + last name fields like this, so that the full name of a user can be displayed this way throughout the site.
Any help with this is gratefully appreciated.
Thanks
kobrakai75November 26, 2014 at 16:16 #36727kobrakai75ParticipantIs there a way to achieve this by adding a function or some code that makes bp_member_name always display as first name + last name on the site?
November 26, 2014 at 19:05 #36754sharmstrModeratorhow about this https://wordpress.org/plugins/buddypress-real-names/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 27, 2014 at 16:12 #36879kobrakai75ParticipantHi sharmstr, I’ve tried that plugin but it doesn’t work right – I still only see a first name.
It also renames the “first name” primary field to “nickname” and you cannot change it.
December 5, 2014 at 01:34 #37732AbeKeymasterHi, you could customize this function trough the filter provided in it. See bp_get_displayed_user_fullname in wp-content/plugins/buddypress/bp-members/bp-members-template.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.December 8, 2014 at 16:56 #38148kobrakai75ParticipantHi Abe, thanks for pointing me in the right direction, this seems to be what I was looking for.
The only problem is my lack of php knowledge, is there anyone who could help with customizing the function? I’m sure a LOT of people would make use of this in BuddyPress.
-
AuthorPosts
The topic ‘How-to display user first name + last name’ is closed to new replies.