WordPress.org

Ready to get started?Download WordPress

Forums

"Display Name" default/always force/only allow First/Last (10 posts)

  1. mrmonkey3319
    Member
    Posted 3 years ago #

    I have SCOURED the internet and this forum and I have not found one solution that has worked to allow such a basic functionality that should be in the WordPress admin in the first place. I just want the default display name for my users to be First Last, instead of username - preferably forcing that to be the only option.

    PLEASE do not give me any links on this forum unless it's absolutely positively working and recent, I have looked at EVERY ONE and all the solutions are outdated or refer to files that don't even exist/have anything in them in the current WP version.

  2. mrmonkey3319
    Member
    Posted 3 years ago #

    Any help at all would be so very appreciated.

  3. mrmonkey3319
    Member
    Posted 3 years ago #

    Still need help

  4. rarescosma
    Member
    Posted 3 years ago #

    Hello!

    Try adding this to your functions.php file:

    [Code moderated as per the Forum Rules. Please use the pastebin]

  5. rarescosma
    Member
    Posted 3 years ago #

    Got modded out...

    Here's the pastebin: http://pastebin.com/tQqC1BrW

  6. nadula
    Member
    Posted 3 years ago #

    Solution is on this thread

  7. thatwastaxing
    Member
    Posted 3 years ago #

    Just chiming in to say rarecosma's solution works. Awesome!

    I've also edited the user-edit.php file to remove the option to update that field.

  8. rarescosma
    Member
    Posted 3 years ago #

    Zing!

  9. Erik
    Member
    Posted 2 years ago #

    Works like a charm!
    I have had the same issue and nothing there to be found =(
    This solved my request as well!

    Well done and thanks!

  10. Kerry
    Member
    Posted 2 years ago #

    I'd also like this to be the case. Is there a way to do this for a WordPress blog I don't have a domain for? My secondary WordPress blog is a free one, and I can't figure out how to change the display name there.

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic