Title: {first_name} displaying wrong name
Last modified: October 18, 2024

---

# {first_name} displaying wrong name

 *  [amhoffmaster](https://wordpress.org/support/users/amhoffmaster/)
 * (@amhoffmaster)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/first_name-displaying-wrong-name/)
 * I have 2 memberships: Member and Board Member. When I used this code as a greeting
   on different pages, it has different outcomes:
 * [um_loggedin]Welcome {first_name}. [/um_loggedin]
 * It should display the logged-in user’s first name but that’s not what’s happening.
   On the **Board Member **page, it has the correct name using this exact code and
   it displays the correct name. On the **Member** page, it shows the Admin’s first
   name (Alice) which is me. How can it be displaying a different name using the
   same code on 2 different pages? I copied the working code over to the page where
   it is incorrect, and it still shows the Admin’s name. Really stumped on this 
   one. And I’ve used this code before without problems. It may have just happened
   because I think someone would’ve reported it before today.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffirst_name-displaying-wrong-name%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘{first_name} displaying wrong name’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [amhoffmaster](https://wordpress.org/support/users/amhoffmaster/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/first_name-displaying-wrong-name/)
 * Status: not resolved