WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi is it possible to modify the login fields required to login into wp-admin? Say to use the email address instead of the username together with the password to gain access. How would I go about doing that? thanks

share|improve this question
up vote 1 down vote accepted

There are plugins which help to do this:

With http://wordpress.org/extend/plugins/wp-email-login/ people can use their email address instead of their username to log into you WordPress install.

Using http://wordpress.org/extend/plugins/theme-my-login/ you can have the WordPress login included in your design, and allow users to modify their account information without logging into the backend.

share|improve this answer
Thanks but what about if I want to extend the login further and ask for more fields, apart from the email. Is there maybe a manual may to modify the login system, or more customisable plugins? – wpmayor Mar 19 '11 at 16:46
I did a bit of digging. It looks like there are hooks you can override to make this happen, but it really doesn't look straight-forward. You would have to override the form with the login_form hook ( adambrown.info/p/wp_hooks/hook/login_form ), then override how logging in is handled using wp_login ( adambrown.info/p/wp_hooks/hook/wp_login ). You would have to do your own handling of storing the login information in cookies, and dealing with a failed login. Basically, I think this is something you'd really have to hack WordPress to make happen. – Gavin Anderegg Mar 19 '11 at 21:51
I see, thanks Gavin. – wpmayor Mar 22 '11 at 0:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.