Are you looking for a way out on How to Allow User Registration on WordPress? Well, yes, you can do that and this will enable them to add comments, post or do any activity on the website that you will allow.
Enabling the user Registration
WordPress has its own functionality to add user registration. You will need to go to settings and then to “General” page from your dashboard. If you scroll down, you will see a “membership” section. Here you need to check mark the box that says “Anyone can register”. The next step is to select a default user role for all the user that registers in the account.
The default role for all the users will be subscriber, but you can change the user role according to your need.
- Whatever you do, do not assign any user with the administrative role.
- Remember to hit the save button before you leave
Once you are done, your site will allow the users to register.
How to Allow User Registration on WordPress
Adding the Register and Login Links
Once you have allowed the user to register on your site, you need to provide them an option to register and login too. For that you can choose either of the below methods and all of them pretty easy to follow.
Method 1: using Meta Widget
The simplest and easiest of them all will be to use the meta widget.
Go to “appearance” and then go to widgets page to add the meta widget to a sidebar.
Here is an screenshot of how it will look
Method 2: Creating Custom Pages for login
Well, using the first method will give the user access to your dashboard, which is not really a smart thing to do, and that is why it is important that you use a separate page for login and registration page
The first step will be to install the WPForms plugin and install it. But to enable the registration addon, you will need to buy the premium version of this plugin.
Once done with the licensing, you can add the registration addon to your plugin. You can now create your own style of registration and login page.
Creating Custom Registration Form
Go to the WPForms from Dashboard and go to Add New which will open the form builder.
Use a template under the “user registration Template”. It will create a simple registration form for you with basic fields.
You can add your own new fields and can change the existing fields as well.
Once done with the design, you will need to map each of the fields and select the user role, enable the notifications and enable the user activation process as well.
You can select a manual activation, where the users will need to be activated by an admin, or you can select an email verification that will allow them to activate accounts using a link.
Whatever you do, remember to save your settings every time you change something. Now your registration form is ready to use and you can now add the registration form.
You may add the registration form by just creating a new or editing an existing WordPress page which you would want to use as registration page.
On the page edit screen, you will notice the ‘Add Form’ button.
Once you click on Add Form, a popup will appear. Select the User Registration form from the popup
And you are done.
Creating Custom Login
After the registration process is done, you need to create the login form. You can create it the same way like you did in case of the registration form. Remember to select the “User Login Form” templates while starting the design.
You can create the login fields and add them or delete them according to your need.
Also, you will need to set the page where the user will be redirected after the successful login. You can do that from the “confirmation tab”. You can show them a message and redirect them or you can directly redirect them.
Just like the user registration page, on the page edit screen, you will notice the ‘Add Form’ button.
Once you click on Add Form, a popup will appear. Select the User Login form from the popup
Managing the users
If you go to your dashboard and click on the “users” option, you can see all the registered users on your wordpress site. The list will show you the username, role, their actual name and the email addresses as well.
If you are the admin of the website, you can choose to change the role of a user or you can even delete the user if you want.
You can even change the password of his username, change the role and block the user for a certain amount of time. If you are the admin, then you will have total control of your website and you can set the user controls as well.
So, this is how you can actually add a registration and a login form in your website
We hope this post assisted you and helped you know how to allow user registration on WordPress.