Viewing 6 replies - 1 through 6 (of 6 total)
  • See the “Display name publicly as” in menu Users > Your profile.

    Thread Starter Zenroy

    (@zenroy)

    PlugPress,
    How would I change the default “Display name publicly as” to the first and last name of the user? So that when a new user makes a new account it is pre-set already.

    Thanks,
    Henry

    Oh! Sorry, I missed you wanted to change the ‘default’ display.

    I think that the fact that because the username is mandatory (and first name and last name are not), this is why this value is the default one. It can’t be changed directly in the admin section.

    That said, it can be done with code by editing the display name via the pre_user_display_name filter.

    I hope it helped.

    Thread Starter Zenroy

    (@zenroy)

    Sorry noob here

    Where would I find the pre_user_display_name filter, to edit. Please explain in more detail, as I am a noob.

    Thanks,
    Henry

    I’m looking for a solution to this same problem. I need to force new user accounts to default the display name to First Name and Last Name. Ideally this could be forced at the account creation point.

    Sorry for the delay…

    You cannot “find” it. You must create some code that will do that manipulation. It is not an option or something like that.

    If you can code, visit the page explaining how to add a filter and manipulate the information :
    http://codex.wordpress.org/Function_Reference/add_filter

    If you are not a developer and really need this function, I suggest you visit the WordPress jobs section where you can find someone to do it for you :
    http://jobs.wordpress.net/

    Good luck!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How-To: Change default nickname to first and last name.’ is closed to new replies.