WordPress.org

Ready to get started?Download WordPress

Forums

Disable username (6 posts)

  1. nyckidd
    Member
    Posted 3 years ago #

    Hello,

    Am interested in disabling the username since i will be using the users first and last name on the site....how do i disable the username section on the registration page ? or even make it so it is not a required field ?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    I'm afraid that's not possible. WordPress uses the username internally.

  3. nyckidd
    Member
    Posted 3 years ago #

    Thanks for the quick reply , just to go around it how do i make the username a non required field ie it is not validated so I can simply enter any name and then hide the field using CSS ?

  4. nyckidd
    Member
    Posted 3 years ago #

    Essentially I just wanna hide the username field with a default value

  5. esmi
    Forum Moderator
    Posted 3 years ago #

    What you are trying to do isn't possible within WordPress.

  6. Frankie Jarrett
    Member
    Posted 2 years ago #

    @nyckidd Unfortunately for what you described @esmi is right.

    However, you could write a plugin which renames the Username field to "E-mail" and make the real email field mirror that username value. Then you could simply hide the real email address field.

    I know it's a bit confusing, but in theory, it should work. Hope you understand what I mean :)

Topic Closed

This topic has been closed to new replies.

About this Topic