๐๐ฒ๐ฎ๐ฟ๐ป ๐ต๐ผ๐ ๐๐ผ๐ ๐ฐ๐ฎ๐ป ๐ฐ๐ฟ๐ฒ๐ฎ๐๐ฒ ๐ฎ ๐ฐ๐๐๐๐ผ๐บ ๐ฟ๐ฒ๐ด๐ถ๐๐๐ฟ๐ฎ๐๐ถ๐ผ๐ป ๐ณ๐ผ๐ฟ๐บ
And also you will learn how to restrict content to registered users only
You can create your registration form in 4 steps.
So letโs get started.
๐ง๐ฎ๐ฏ๐น๐ฒ ๐ผ๐ณ ๐ฐ๐ผ๐ป๐๐ฒ๐ป๐๐ :
00:00 Intro
00:53 Allow users to register
01:25 Install ultimate member plugin
02:05 Create the pages required
02:48 Add the pages to your menu
03:36 Set who can see your pages
07:19 How you can restrict your website content to registered users
07:37 Select the content which you want to restrict
08:23 How to restrict a page on your site to registered users only
First, you need to enable a setting in wordpress
๐๐ผ ๐๐ผ ๐ฑ๐ฎ๐๐ต๐ฏ๐ผ๐ฎ๐ฟ๐ฑโบ ๐ฆ๐ฒ๐๐๐ถ๐ป๐ด๐ โบ ๐ด๐ฒ๐ป๐ฒ๐ฟ๐ฎ๐น โบ ๐ฒ๐ป๐ฎ๐ฏ๐น๐ฒ โ๐บ๐ฒ๐บ๐ฏ๐ฒ๐ฟ๐๐ต๐ถ๐ฝโ
๐ฆ๐๐ฒ๐ฝ ๐ญ: Install ultimate member plugin
This is the plugin which will help you to create the registration form.
To install it, ๐๐ผ ๐๐ผ ๐๐ผ๐๐ฟ ๐๐ผ๐ฟ๐ฑ๐ฝ๐ฟ๐ฒ๐๐ ๐ฑ๐ฎ๐๐ต๐ฏ๐ผ๐ฎ๐ฟ๐ฑ โบ ๐ฝ๐น๐๐ด๐ถ๐ป๐ โบ ๐ฎ๐ฑ๐ฑ ๐ป๐ฒ๐
Search for โ๐๐น๐๐ถ๐บ๐ฎ๐๐ฒ ๐บ๐ฒ๐บ๐ฏ๐ฒ๐ฟโ and install the plugin
๐ฆ๐๐ฒ๐ฝ ๐ฎ: Create the pages required for user registration.
The ultimate member plugin will give you the required pages needed for registration
To create the pages
Click โ๐ฐ๐ฟ๐ฒ๐ฎ๐๐ฒ ๐ฝ๐ฎ๐ด๐ฒ๐โ
And all the pages will be created and you can view them by going to โ๐ฝ๐ฎ๐ด๐ฒ๐ โบ ๐ฎ๐น๐น ๐ฝ๐ฎ๐ด๐ฒ๐โ
Once you have created the pages
๐ฆ๐๐ฒ๐ฝ ๐ฏ: Add the pages to your menu
To add the pages to menu
๐๐ผ ๐๐ผ ๐ฎ๐ฝ๐ฝ๐ฒ๐ฎ๐ฟ๐ฎ๐ป๐ฐ๐ฒ โบ ๐บ๐ฒ๐ป๐๐
Select the pages which you want to add it to menu
And click โ๐ฎ๐ฑ๐ฑ ๐๐ผ ๐บ๐ฒ๐ป๐โ
Once you have added the pages to menu
๐ฆ๐๐ฒ๐ฝ ๐ฐ: Set who can see your pages
So to set the condition
Click on the page, and you will get the option to select the users
Click on it and select the users, who can see that particular page
Same way, set the users for all the pages
Then click โ๐๐ฎ๐๐ฒ ๐บ๐ฒ๐ป๐โ
Now if someone registers on your site using this form
Their details will be stored on your dashboard
You can see it, by going to ๐๐๐ฒ๐ฟ๐ โบ ๐ฎ๐น๐น ๐๐๐ฒ๐ฟ๐.
===== ๐ฃ๐ฎ๐ฟ๐ ๐ฎ: How you can restrict your websiteโs content to registered users only =====
Once you do this, if someone tries to visit any page on your website,
it will ask them to register on your site, in order to view the content.
๐ฆ๐ฒ๐น๐ฒ๐ฐ๐ ๐๐ต๐ฒ ๐ฐ๐ผ๐ป๐๐ฒ๐ป๐ ๐๐ต๐ถ๐ฐ๐ต ๐๐ผ๐ ๐๐ฎ๐ป๐ ๐๐ผ ๐ฟ๐ฒ๐๐๐ฟ๐ถ๐ฐ๐
๐๐ผ ๐๐ผ ๐ช๐ผ๐ฟ๐ฑ๐ฃ๐ฟ๐ฒ๐๐ ๐๐ฎ๐๐ต๐ฏ๐ผ๐ฎ๐ฟ๐ฑ โบ ๐๐น๐๐ถ๐บ๐ฎ๐๐ฒ ๐บ๐ฒ๐บ๐ฏ๐ฒ๐ฟ โบ ๐๐ฒ๐๐๐ถ๐ป๐ด๐ โบ ๐ด๐ผ ๐๐ผ ๐ฎ๐ฐ๐ฐ๐ฒ๐๐
Select which content you want to restrict to users
You can select post, page, category, etc,
How to restrict a page on your site to registered users only
To do that
๐๐ผ ๐๐ผ ๐ฝ๐ฎ๐ด๐ฒ๐ โบ ๐ฎ๐น๐น ๐ฝ๐ฎ๐ด๐ฒ๐
Open the page, you want to restrict
Scroll down and enable โ๐ฟ๐ฒ๐๐๐ฟ๐ถ๐ฐ๐ ๐ฎ๐ฐ๐ฐ๐ฒ๐๐ ๐๐ผ ๐๐ต๐ถ๐ ๐ฐ๐ผ๐ป๐๐ฒ๐ป๐โ option
Then select who can view the page
As we want only the registered users to see the page
Select โ๐น๐ผ๐ด๐ด๐ฒ๐ฑ ๐ถ๐ป ๐๐๐ฒ๐ฟ๐โ
Then select user role as โ๐๐๐ฏ๐๐ฐ๐ฟ๐ถ๐ฏ๐ฒ๐ฟโ
Now to redirect the users when they try to view the page
Click on the next option and select โ๐ฟ๐ฒ๐ฑ๐ถ๐ฟ๐ฒ๐ฐ๐ ๐๐๐ฒ๐ฟ๐โ
Next, choose where you want them to redirect
Click the next option and select โ๐น๐ผ๐ด๐ถ๐ป ๐ฝ๐ฎ๐ด๐ฒโ
Once you have set the restrictions
Click โ๐๐ฝ๐ฑ๐ฎ๐๐ฒโ.
So this is how you can restrict a page on your site to registered users
Now, in the same way, you can restrict the blog and a particular category on your website.
How to approve the users manually
There are 2 methods
๐ ๐ฒ๐๐ต๐ผ๐ฑ ๐ญ: set up the admin review
To do that
๐๐ผ ๐๐ผ ๐ฑ๐ฎ๐๐ต๐ฏ๐ผ๐ฎ๐ฟ๐ฑ โบ ๐๐น๐๐ถ๐บ๐ฎ๐๐ฒ ๐บ๐ฒ๐บ๐ฏ๐ฒ๐ฟ โบ ๐๐๐ฒ๐ฟ ๐ฟ๐ผ๐น๐ฒ๐ โบ ๐๐๐ฏ๐๐ฐ๐ฟ๐ถ๐ฏ๐ฒ๐ฟ๐
Under the registration options โบ ๐ฟ๐ฒ๐ด๐ถ๐๐๐ฟ๐ฎ๐๐ถ๐ผ๐ป ๐๐๐ฎ๐๐๐โบ require admin review
Then click โ๐๐ฝ๐ฑ๐ฎ๐๐ฒ ๐ฟ๐ผ๐น๐ฒโ
Now to enable email notification when someone register on our site
๐๐ผ ๐๐ผ ๐ฆ๐ฒ๐๐๐ถ๐ป๐ด๐ โบ โ๐๐บ๐ฎ๐ถ๐นโ โบ ๐ฟ๐ฒ๐๐ถ๐ฒ๐ ๐ป๐ผ๐๐ถ๐ณ๐ถ๐ฐ๐ฎ๐๐ถ๐ผ๐ป
Enable the option
And click โ๐๐ฎ๐๐ฒ ๐ฐ๐ต๐ฎ๐ป๐ด๐ฒ๐โ
whenever a visitor registers on our site, the admin will get an email notification.
๐๐ผ ๐๐ผ ๐ฑ๐ฎ๐๐ต๐ฏ๐ผ๐ฎ๐ฟ๐ฑ โบ ๐๐น๐๐ถ๐บ๐ฎ๐๐ฒ ๐บ๐ฒ๐บ๐ฏ๐ฒ๐ฟ โบ ๐๐ฒ๐๐๐ถ๐ป๐ด๐ โบ ๐ฒ๐บ๐ฎ๐ถ๐น
Click Account approved email and enable the option
And click save changes.
Now once you approve the user, they will receive an email
You can approve the users by going to ๐๐๐ฒ๐ฟ๐ โบ๐ฎ๐น๐น ๐๐๐ฒ๐ฟ๐ โบ โ๐ฃ๐ฒ๐ป๐ฑ๐ถ๐ป๐ด ๐ฅ๐ฒ๐๐ถ๐ฒ๐โ.
Select the user, click on UM action
Select approved membership and click apply.
And the user will be approved and they will receive an email about the approval
๐ ๐ฒ๐๐ต๐ผ๐ฑ ๐ฎ: activate the user by email activation
๐๐ผ ๐๐ผ ๐๐ผ๐๐ฟ ๐ช๐ผ๐ฟ๐ฑ๐ฃ๐ฟ๐ฒ๐๐ ๐ฑ๐ฎ๐๐ต๐ฏ๐ผ๐ฎ๐ฟ๐ฑ โบ โ๐จ๐น๐๐ถ๐บ๐ฎ๐๐ฒ ๐ ๐ฒ๐บ๐ฏ๐ฒ๐ฟโ โบ โ๐จ๐๐ฒ๐ฟ ๐ฅ๐ผ๐น๐ฒ๐โ โบ โ๐ฆ๐๐ฏ๐๐ฐ๐ฟ๐ถ๐ฏ๐ฒ๐ฟ๐โ,
Now under โ๐ฅ๐ฒ๐ด๐ถ๐๐๐ฟ๐ฎ๐๐ถ๐ผ๐ป ๐ผ๐ฝ๐๐ถ๐ผ๐ป๐โ
Click on โ๐ฅ๐ฒ๐ด๐ถ๐๐๐ฟ๐ฎ๐๐ถ๐ผ๐ป ๐ฆ๐๐ฎ๐๐๐โ and select โ๐ฅ๐ฒ๐พ๐๐ถ๐ฟ๐ฒ ๐๐บ๐ฎ๐ถ๐น ๐๐ฐ๐๐ถ๐๐ฎ๐๐ถ๐ผ๐ปโ
Then click โ๐จ๐ฝ๐ฑ๐ฎ๐๐ฒ ๐ฅ๐ผ๐น๐ฒโ
Now to send the account activation email to your visitors
๐๐ผ ๐๐ผ ๐๐ฒ๐๐๐ถ๐ป๐ด๐ โบ ๐ฒ๐บ๐ฎ๐ถ๐น โบ โ๐ฎ๐ฐ๐ฐ๐ผ๐๐ป๐ ๐ฎ๐ฐ๐๐ถ๐๐ฎ๐๐ถ๐ผ๐ป ๐ฒ๐บ๐ฎ๐ถ๐นโ
And enable the option
then save changes.
Now when the user registers on your site, they will get an email for account activation
.
Only if they activate the account, your website content will be visible to that user.
Thatโs it guys
now know how to create a registration on your wordpress website.
#wordpress #web-development