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

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

๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—ต๐—ผ๐˜„ ๐˜†๐—ผ๐˜‚ ๐—ฐ๐—ฎ๐—ป ๐—ฐ๐—ฟ๐—ฒ๐—ฎ๐˜๐—ฒ ๐—ฎ ๐—ฐ๐˜‚๐˜€๐˜๐—ผ๐—บ ๐—ฟ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ณ๐—ผ๐—ฟ๐—บ in WordPress. And also you will learn how to restrict content to registered users only. You can create your registration form in 4 steps.

๐—Ÿ๐—ฒ๐—ฎ๐—ฟ๐—ป ๐—ต๐—ผ๐˜„ ๐˜†๐—ผ๐˜‚ ๐—ฐ๐—ฎ๐—ป ๐—ฐ๐—ฟ๐—ฒ๐—ฎ๐˜๐—ฒ ๐—ฎ ๐—ฐ๐˜‚๐˜€๐˜๐—ผ๐—บ ๐—ฟ๐—ฒ๐—ด๐—ถ๐˜€๐˜๐—ฟ๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—ณ๐—ผ๐—ฟ๐—บ

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

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Hire WordPress Developer

Whether you want to develop a blog or you want a feature-rich, interactive WordPress website? **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")** is a distinguished leader in the WordPress development market. **[Hire...

Best WordPress Development Services in India

Skenix Infotech is a top WordPress Website Development Company in India & USA with expert WordPress Developers. Get affordable WordPress Development Services.

Hire Dedicated Wordpress Developer

Find the latest jobs available in The Middle East today.

WordPress Development Company in India

Skenix Infotech is a top WordPress Website Development Company in India & USA with expert WordPress Developers. Get affordable WordPress Development Services.

Hire Dedicated Wordpress Developer | Hire Wordpress Experts

Hire Dedicated WordPress Developers for all your Web requirements from USA and India. We offer experienced and certified developers on Full-time, Part-time and Hourly basis.