I have created a registration form that requires user to input their email address. When I try to create a user and input all my information, including my email address, and click register, I get a popup that says “An email address is required.” Please advise why this is happening even though I have entered an email address.
Have you inserted the email field from the “Profile Fields” area? Then it shouldn't be happening. I am not sure what might got wrong. In that case, can I see your site (post login details as private reply)?
Tareq, I inserted the email field from the custom area. I just changed it to the email field from the profile fields area and that seems to have fixed the problem.
One other problem has arisen though. When a user registers for an account and clicks register, it does not automatically log the user in. It directs them back to the homepage where they have to login again. Is there a way to set it so the user is automatically logged in when they register.
Also, is there a way to require email confirmation where the user must activate their account by clicking on a link in their email?
Thanks Tareq! That code works perfectly for automatic login.
For user email verification, I currently have Theme My Login set to verify email address but since I have overridden the registration with my custom WP User Frontend registration form, the verification isn't operating. If I download a separate email verification plugin it will integrate with the WP User Frontend registration form to require email verification?
I haven't tried the email verification of Theme My Login's. But as WP User Frontend also fires the same action hooks as the default WP registration form, any standard email verification plugin should work.