How To Login To WordPress Using Your Username Or Email Address

By default, WordPress users can login to WordPress sites using only their WordPress username, but it’s more easy for most users to remember their email address. Of course, most of us use our email everywhere, so it’s more easy for us to remember them.

However, it’s still possible to login to WordPress using your username or email address with a little snippet from bavotasan.com. Just add following code to your functions.php file:

Wait, we have something more. Kevin Chard has a code which will improve this code by changing the text on the login page from “username” to “username / email.” Just add following code to your functions.php file: