Website Design

How to Create a User Registration Form in WordPress | And Restrict Your Content [Video]

How to Create a User Registration Form in WordPress | And Restrict Your Content

𝗚đ—Č𝘁 đ—Œđ˜‚đ—ż 𝗡𝗘đ—Ș đ—–đ—Œđ˜‚đ—żđ˜€đ—Č ➜

đ—›đ—Œđ˜„ đ˜đ—Œ 𝗠𝗼𝗾đ—Č đ— đ—Œđ—»đ—Č𝘆 đ˜„đ—¶đ˜đ—” đ˜†đ—Œđ˜‚đ—ż 𝘄đ—Čđ—Żđ˜€đ—¶đ˜đ—Č ➜

𝗩𝘂𝗮𝗮đ—Č𝘀𝘁/đ˜ƒđ—Œđ˜đ—Č đ—łđ—Œđ—ż đ˜đ—”đ—Č đ—»đ—Č𝘅𝘁 đ˜ƒđ—¶đ—±đ—Čđ—Œ ➜

𝗟đ—Čđ—źđ—żđ—» đ—”đ—Œđ˜„ đ˜†đ—Œđ˜‚ đ—°đ—źđ—» 𝗰𝗿đ—Č𝗼𝘁đ—Č 𝗼 đ—°đ˜‚đ˜€đ˜đ—Œđ—ș 𝗿đ—Čđ—Žđ—¶đ˜€đ˜đ—żđ—źđ˜đ—¶đ—Œđ—» đ—łđ—Œđ—żđ—ș

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.

Watch/Read More