Support » Fixing WordPress » Set public display name to "First-name Last-name" by default

  • I have no idea how to do this, I’ve looked over the web for some time and found nothing.
    Setting it per-user, one by one, is not what I’m looking for.
    Can It be set automatically when the user registers?
    Please help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You can develop a custom page template which gets the current user’s name and displays it.

    Ok, how?

    Thinking out loud… I suppose you could add custom fields to the user profile and then make those fields a required part of the registration process. Then you can build out the logic to use these fields in place of the public display name. Exactly how to implement that…not sure – it definitely would require some in-depth review of the WordPress codex!

    Yeah, I have custom fields for the first and last name, but I have absolutely no idea how to make them show up by default.

    How have you created the custom fields? Using the ACF plugin? Or through coding it yourself?

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Have you looked into using the User API?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Set public display name to "First-name Last-name" by default’ is closed to new replies.