Tagged: Directory, member-loop, Sync
Hello Brajesh,
I’m at a total loss for why I can’t get this to work. So I’m turning to people smarter than me. 🙂
I have a user that is created in a plugin register form. The WordPress id’s of first_name and last_name are filled in with the correct value.
I want those values to be displayed in a member-loop.php template.
The template displays bp_member_name, which seems to default to WP username. I have tried a plugin to force it to be First Name Last Name, but it isn’t working.
I have a two part question. First, just out of curiosity, why can’t we use the WP fields of first_name last_name in the BuddyPress template? That seems like it would make it so easy to get the display to be what I want.
Two, do you have a plugin that syncs the WP first_name last_name to BuddyPress xprofile fields? because I do at least have some code to display those xprofile fields in the members-loop template if that is an option.
Or otherwise maybe a plugin that forces the user display name for WordPress, which is used in bp_member_name, to MUST be first_name last_name?
Thanks as always for being a great resource.
Have a great day.
You must be logged in to reply to this topic.