• Resolved Saalem

    (@saalemwordpress)


    Hi,

    Thank you for developing this great plugin.

    I am using {user_display} to get username in another form but it shows name instead of username. If the name (fname and lname) is empty, it will show username other than that, it shows the name.
    Any solution?

    Thank you

    • This topic was modified 5 years, 11 months ago by Saalem.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Ethan Choi

    (@ethanchoi)

    Hi saalemwordpress,

    The {user_display} Smart Tag should show the username of the user, even when the user’s first and last name are added to their profile page.

    In this case there could be a code conflict with another plugin or the site theme. The best way to sort this out is by following the steps in WPBeginner’s troubleshooting tutorial.

    I hope this helps! When you’ve had a chance to work through that tutorial, could you please let me know how it goes?

    Thanks!

    Thread Starter Saalem

    (@saalemwordpress)

    Good day @ethanchoi

    I did the suggested troubleshooting but still the problem exists.

    To let you know that,

    Even, I completely created a new WordPress website
    Themes: Twenty SeventeenVersion: 2.1 (By the WordPress team)
    Plugins: WPForms with Addons (WPForms Post Submissions & WPForms User Registration).
    *Note: No other plugins at all.

    So, what i found out is that {user_display} is getting the value from Users>Edit>Display name publicly as (dropdown). Any value there, {user_display} will show that. Suppose, we have 1000 users, we cannot change their public display name one by one.

    So, what i did is: I install a plugin called (Substitute Display Names) and changed Change default Publicity Display Name As: Username. So now, {user_display} will get username even there are first and last names.

    To Know more about (Substitute Display Names) plugin, click https://memberfix.rocks/change-display-name-publicly-as/

    Thank you.

    Plugin Support Ethan Choi

    (@ethanchoi)

    Hi Saalem,

    Thanks for sharing those details, and I’ll be sharing this with the team so we can be looking into it. I apologize for the inconvenience in the meantime.

    Have a good one ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘{user_display} is showing name (fname, lname) but not username’ is closed to new replies.