WordPress member registration

WordPress member registration

A membership site needs a WordPress registration form as well as adding a WordPress member registration, and this is one of the most important things to think about when implementing a site idea, whether it is a blog, store, gallery or news site. For this reason, it is very important to talk about how to customize the WordPress login page And cancel the default registration page for all users.

In this tutorial, we will use an excellent addition called Ultimate member

The first step: to install the WordPress Ultimate member

Go to the Add-ons section, then click on Add New, type the Ultimate member, click on the add-on installation and then activate.

The first to install the Ultimate Member plugin on the WordPress site
Add WordPress Member Registration

After that, a notification will appear for you to download and create the main pages, click on Create pages as shown in the following image

 Create pages
WordPress registration form

The second step: Activate the options to add the Ultimate member in the WordPress site

The first section in the settings: General section

The principle of work of this add-on is simple, as it alone creates the necessary pages, and also automatically inserts the short code for each page separately. .

Now go to the control panel , and search for the add- on icon , you will find it in the list, click on settings , then follow the sections as shown in order

  1. Pages: These are the main pages for registration, login and user account
  2. User: In this option all the default options are fine, just disable the members directory in case you do not want the site to display all your registered users on one page.
  3. Account: Here you can customize the account page, all the default options are good and you can still modify them
  4. Uploaded files are meant if you will allow members to upload profile or cover photos
The second is to install the Ultimate member extension on the WordPress site 2
Add WordPress Member Registration

The second section in the settings: Section – Access –

In this section, it is shown to you, in case you want to restrict visitors’ access to the content of the site only if they register on the site in order to continue reading or reading … etc.

  1. General access to the site: in case you want to restrict access, choose the site is available to registered users
  2. If you choose the former, write the ban message so that visitors know that they must register to complete
  3. Choose what you want to restrict access to
  4. Click Save
WordPress Memberships
Add WordPress Member Registration

The third section in the settings: Emails

Adding memberships in WordPress allows you to customize the email messages you want, which you want to send to visitors

In this section, you can customize the form and content of the message, when a person registers on the site as a new user, or if the user deletes his account, or if the subscription is activated … etc.

  1. Enable the option if it is not enabled by default
  2. Type the text of the message you want, but be careful, do not delete the links
  3. To coordinate the shape of the message in terms of colors, text shape and background
The third is in the settings, emails
Add WordPress Member Registration

Fourth section in Settings: Appearance.

In this section, you can control the form of the login forms and the registration of a new user in WordPress, in addition to the profile and the profile list. The default look is nice and there is no need to change it but you can still do it.

In the profile menu: here you can enable or disable the tabs of the profile page such as the comments tab, about and articles..

The rest of the sections are not considered as important in terms of adding what you need now. .. Let’s move to the next section, which is the section explaining the registration, login and account forms

Explanation of forms for adding member registration to WordPress

In this section, we will learn about default templates for adding Ultimate member memberships in WordPress.

In this addition there are three virtual models.

  1. Register as a new user on the site
  2. Log in to the site
  3. profile page template
  4. As for Section 4, it is the short code that you can use at any time and on any page you want to put a form to login to the site.

Note: (There is no need for the first time you install this add-on to paste the short code in a new one on the pages, because this was done automatically in the first step

Default templates for adding Ultimate member memberships in WordPress.
Add WordPress Member Registration

You can press the Create a new form button or you can format the default forms themselves.. This add-on allows you to create an unlimited number of forms valid for use in any part of the site using the short code.

Customizing the login form in WordPress.

Click on option No. 2, the login form in the previous picture, then customize the form as you want, by following the following guide according to the number that corresponds to the picture

  1. Click on the edit icon
  2. Change the title of the username field for whatever you want
  3. Change the user field name as you like
  4. Click Update
  5. Click Yes to customize this form – continue below to understand the explanation more –
  6. Press Yes in the options
WordPress login form.
Add WordPress Member Registration

Now in the option to customize this form and after pressing Yes, you will find as shown as well

  1. In the free version there is only one default template for the form shape so leave it as is
  2. Choose the width of the model in pixels, leave it as it is if you like
  3. In case you want to show field icons with or without the label
  4. Primary button text means the name of the login button for the site
  5. Show secondary button means a button that converts the visitor to a new user registration form on the site if he does not have an account
  6. Secondary button text if you activate the previous option
  7. Show forgot password link in login form or not
  8. Show “remember me” icon in the login form
WordPress login form.  1
Add WordPress Member Registration

Redirect visitors after registering with WordPress

Here lies the most important section of this add-on, which many people are looking for and did not find a solution for. In this option, you can automatically direct the user to one of the following options:

  • to profile
  • To the home page of your site
  • to a custom link
  • Or reload the page that the user logged in without going anywhere else

Now, assuming that you are using the Waucommerce extension and you have a store, and you want the visitor to go immediately to the cart or the order page after registering on the site.. You can here enter a custom link, and paste the link of the page you want to direct it to.

All of the above options are also applied in the new user registration form

Customizing the Membership Profile Page in WordPress

Now go to the Forms section, view the account form, open it and follow the instructions in the explanation

  • In option 1-2-3, you can display three columns, two columns, or one column
  • By clicking on the + sign, you can add a new field to appear to the user –
  • By clicking on Customize this form, you can control the options and appearance of this form
  • Don’t forget to save your changes when you’re done
Customize the account page in the Ultimate member add-on
Add WordPress Member Registration

Block access to the default registration form in WordPress

What I mean by this is to block access to wp-admin when someone tries to log into the site using the default form…

Here you need to use the php code, you can paste it in the functions.php file within the theme folder .

 Using the php code, you can paste it into the functions.php file in the theme folder.
Add WordPress Member Registration

php code to block access to the default wordpress registration form

Delete the link in the code and replace it with the registration link on your site, don’t forget!!

function custom_login(){
 global $pagenow;
 if( 'wp-login.php' == $pagenow ) {

Proper use of the WordPress membership plugin with WooCommerce

It is known that in adding the store and woocommerce, there is only a page to log in, and there is no page to register a new user, so it is good to use this add-on for memberships with the addition of woocommerce, and to do this follow the following steps in order:

1- Go to the Forms section, and click on the login form.. Then in the Options section by choosing Redirect the user to a custom link, paste the account page link to add WooCommerce

2- Also go to the Membership Addition Forms section, and then create a new user registration form, and apply the custom settings, then choose the default rank of the member is customer

Use the add-on properly with WooCookers

3- Now go to the Pages section of the WordPress dashboard, and click on Edit account page as well as the order completion page in WooCommerce, and apply the settings as you see in the following image:

Wookookers account page

The lesson from the last step is to use the registration and login forms from the addition of the Ultimate member and not from the addition of the Wacomers, and thus the login form will not appear in the customer’s account from the addition of the Wacomers, but only the login form from the addition of the Ultimate member.

The last step is to go to add the Ultimate member, (it is not necessary but to avoid problems in the sites that need to log in only in order to purchase) click on the member ranks option, edit the customer rank as shown:

Member ranks option, edit the Customer rank as shown:

A final note to understand a few things:

Adding the Ultimate member creates a form for the user and account page, you can either delete this page or use the extension to redirect links so that if this page appears to the user, you will automatically redirect him to the WooCommerce account page. So that there are no two account pages on the site. ( my choice).

Now the educational course in customizing and designing the login page and memberships in WordPress has ended professionally