Email Login is a very simple, rather self-explanatory plugin. All it does is allows you to log into your WordPress account using your email address instead of your username. Why would you want this? Well, you could be lazy, you could have a really bad memory, or in my case, you may actually randomly generate the usernames used on one of your installations, and then require people to use their email address to log in instead.
Installation
- Download WP Email Login to your computer (or direct to your server if you’re tricky)
- Unzip it to your /wp-content/plugins/ directory
- Activate the plugin in wp-admin under Plugins
Usage
- Log out of WordPress
- Log back in using your email address in the username field (You can still use your username if you prefer, as long as it doesn’t contain an “@” symbol.)
That’s about all there is to it. I have also added some DOM manipulation on my wp-login.php page so that the prompt actually reads “Your Email” instead of “Username”, but that’s completely optional, so it’s not included in the plugin file.
Dented Reality » Log into WordPress using your Email Address
The best Wordpress plugins when building your website : Article Cruise
Good morning,
Love this plugin, simple and easy to use. However we have noticed that on our Multisite install the login screen fields don’t look right. ‘username’ is still above the username box and ‘username or email’ appears where ‘password’ should be. I haven’t identified the fix yet but thought I would let you know.
Hello again, found it. I have changed the childNodes at the bottom so the first is [0] instead of [1]
document.getElementById(‘loginform’).childNodes[0].childNodes[1].childNodes[0].nodeValue = ”;
Hope this is useful.
Are you using the latest version of WordPress and the plugin? Or if not, what versions of each are you using?
Hi Beau,
We haven’t upgraded to the latest WordPress on this site yet as we have a few custom built plugins to test compatibility with first, so we are still on 3.6 but hope to update very soon.
Sorry didn’t mention, we are using the updated version of your plugin.
Are you running any other customizations around your login page? Because this very site is multi-site, runs the plugin, and doesn’t seem to have any problem.
We are running the WPMU Dev Branding widget which allows you to add a logo instead of the WordPress logo on the login page, I didn’t deactivate the whole plugin as it has several elements but I did deactivate the login logo part to see if it was conflicting and the issue was still there. It may be this plugin that was the issue but as it brands the site and it is live I don’t want to turn it off just to confirm.
Great Plugin, using it on a few sites. One multi-site is running WP3.8 and is inconsistent allowing logins with email. Do you have an update available for WP3.8?
I’m using the plugin with 3.8 (and trunk), and not having any problems; do you have any other plugins running that might interfere/interact with authentication which are perhaps causing a conflict of some sort?
Hey Beau,
The only things I could think of being possible conflicts are the “User Role Editor” or Woocommerce. Here is the list of what is installed.
https://www.dropbox.com/s/ue0do6jjl0brzcq/plugin.png
It appears to work for the first email login, then all others fail afterwards. Testing from Chrome, IE, Firefox.
Any ideas?
Thanks,
Daniel
“Private Only” sounds like something that messes with authentication also 🙂
Is that this one? https://wordpress.org/plugins/private-only/
Hey Beau,
Crap, that’s probably it. Yep that one.
Unfortunately I need both sets of functionality. Any ideas if they could work together?
Thanks,
Daniel
Great. Exactly what I was looking for!
Thanks.
Hi, you mentioned that you, “randomly generate the usernames”. I need to do just that and I searched high and low for a plugin that would allow this, but couldn’t find one. How do you do it?
Thanks
That was actually being done on a site where the entire signup process was customized, so I don’t really have a code snippet or anything that I can share I’m afraid. If I was doing it now, I’d attempt to hide the username field, and then when the sign up form is submitted, generate a username based on a hash of their email address. I think you could inject some JS code on the ‘signup_extra_fields’ action to hide the username field, then before/during the processing of the form, you’d have to overwrite $_REQUEST[‘user_name’] and maybe $_POST[‘user_name’] as well with your generated username. HTH.
Woud this plugin br compatible with version 4.0?
Yes, it works fine with 4.0.
Hi Beau!
When I try to create a new account I got this message:
Suspected bot.
I don’t think that’s anything to do with this plugin. Email login functionality is now bundled in core WP though, so you might try just disabling this plugin and see if you can do what you want without it.
Hi Beau!
I’m new with WP and I installed the WP Email Login because you recommended it on the Get Help with Listable page.
Since email functionality is now bundled in core WP, can you please update the Get Help page to make it work as your demo?
Or please, send me a tutorial link about how do to it.
Thanks
Ops sorry! I thought you were from Pixelgrade. The company that is recommended your plugin. But anyway, I’ll appreciate if you can send me a tutorial how to implement the email login.
Best Regards
There’s not really a tutorial — install and activate the plugin, and from then on your users can log into WordPress using their email address instead of their username within WordPress. There is no additional UI or settings or anything for this plugin.
Hi Beau! Unfortunately Email Login its not working on my site: http://www.box-cards.com
Do you have any suggestions about how can we avoid this error: Suspected bot. ?
10+ Best Free WordPress Member Plugins 2016
hi I have a question, Can by change this email name notification but actually say “wordpress@mydomine” an need change “wordpress” by “support” or “admin” you can help please
Sorry, I’m not entirely sure what you’re asking.
We want to force WP to use full email address as username on our site with WooCommerce/WooMembers.
I notice this plug-in hasn’t been updated for some time, just want to know if it will work on the current WordPress installations?
As far as I’m aware it’s still working with all current versions of WordPress. I’ve never specifically tried it on WooCommerce, but don’t see why it wouldn’t work there as well.
Is WP Email Login compatible with mysql 8.0 and php 8+
I’m not sure, I have stopped developing this plugin many years ago since WordPress added the ability to log in using your email address natively.