How to create custom WordPress registration and login form

The form is an important part of any WordPress website. WordPress provides a very simple and clear registration and login form. Many of you want to customize the form to keep it consistent with your brand design and color. Some of you want to add more fields to the form. No matter what reason, you need a plug -in to create a custom form.

There are several free WordPress plug -in available, but these plugins usually provide limited functions. You will need to create a custom WordPress form like a special plug -in like Profilepress or WPForms.

In this article, we will show you how to create custom registration and login form for your WordPress website. We will show you how to add a custom field, set the new form to the default form of the WordPress website, and create a custom form for checkout and my account page.

Let’s start.

How to create a custom WordPress form

There are several plug -ins that can help you create a registration form for the WordPress website. But based on ease of use and function, we found that Profilepress is currently the best form plug -in.

Profilepress provides a beautiful pre -built form, you can use the drag and drop function to customize according to your needs. In other words, the plug -in is not just a form construct. Using Profilepress, you can create:

Beautiful user information

  • Search and filtering member directory
  • Limit access to posts, pages, and sub -pages [ 123]
  • Access to the types of category, label, custom post type and classification method

  • The most important thing is that you can use Google Recaptcha, Polylang, Dual -factor authentication and other plugins The function of extended plug -in. You can learn more about plug -in functions on its function list page.

PROFILEPRESS is a high -end plug -in. To use it, you need to buy a permit of $ 79 a year for a single site. If you want to use it for multiple websites, please subscribe to a higher plan. Let’s use this plug -in to create a custom WordPress form.

Create custom registration

Install and activate Profilepress on your WordPress website.

Step 1: To ensure that you can use custom fields on the form, you need to turn to

Profilepress \u0026 GT; addons \u0026 gt; custom Fields

and

Open the button

Let’s enable custom fields.

Step 2: Now turn to Profilepress \u0026 GT; Forms \u0026 Amp; Profiles \u0026 GT; add new \u0026 gt; registry .

Step 3: Next, you can choose to edit the pre -built template or start a form from the beginning Essence From scratch, it is necessary to encode knowledge to build a form, and many people who read this article are likely to not know how to encode it. In this case, select DRAG \u0026 Amp; Drop Builder .

Step 4: On the next page, you need to name

form

and select a template . You will then continue to use the drag and drop construct design form.

Step 5: Use the following custom field creation form:

Username 简介出版社

Email address

Confirm the email

    Password

  • Confirm the password

  • Password strength

  • Website
  • Nickname [ 123]
  • Display name

  • Name

  • Upload avatars

  • Upload cover photo
  • Biography
  • ] Select the role

  • Custom HTML

  • Re -verification code

  • Step 6: Click

  • Real -time preview
  • button to save it to saveChange the preview form before.

Step 7: Next, roll down to

form settings . You can change the button tags, color, title and registration settings here.

新登记表

Step 8: Preparation After, click Save Changes button. That’s it. Your new registration performance is ready. Important Tips: Want to add Google RECAPTCHA, social login or dual -factor authentication to the form? The plug -in allows you to expand and customize the function of the website. Learn more

Next, you need to do two things:

表单设置

You need to post a form on the new page or post

and then set the new form settings For the default WordPress registry

We will introduce these two tutorials in the following two different parts. But first of all, let us quickly understand how to create a custom WordPress login form.

Create a custom login form

The steps you need to take are the same as the steps of the registration form, but there are two points:

Turn to

    Profilepress \u0026 gt; Configure file \u0026 gt; add new

  1. \u0026 gt; drag and drop the generator.

  2. Instead of choosing to register, but selecting
  3. login

.

Then in your ] Naming form

and

After selecting templates , you will notice that the custom field is limited compared to the registry. In any case, you don’t actually need to log in to the form of the form. The following is a custom field list you can use on the login form: User login (user name or email)

Password

[ 123] Remember to log in 登录表格

Custom HTML

Re -verification code Everything else is exactly the same as the registry.

After your new login form is ready, continue the next part, you will learn how to publish a new form (register and log in) and how to set them to the default WordPress form.

  • How to publish a new form on your website
  • This is very simple.
  • Turn to
  • Profilepress \u0026 GT; Forms \u0026 Amp; Profiles

  • and select
  • Login

  • or
  • registration

. On the right side of the table, you should be able to see a short code.

Copy

The short code you just created.

To Pages \u0026 GT; add New Create a new page and paste the short code. Named on the page and click Publish .

Your form is now on your website.

The following is the appearance of the registration form on our demonstration website:

The following is the appearance of the login form:

123]

新的 WordPress 登录表单

The next step is to set the new form to login or register.

How to set the new form to your default WordPress form

to

Profilepress \u0026 GT; Set \u0026 gt; overall

.

In the 注册 login page

option, there is a drop -down menu. From the drop -down list,

selects the new page of your poster to the login form

.

In the

registration page 用户登录 option,

Select the new page you posted the registration form

.

That’s it. Whenever someone tries to register or log in to your website, they will encounter a new form.

How to create a custom form for WOOCOMMERCE

Many people who read this article want to know if they can replace the woocommerce website form? Of course you can. That’s it:

Activate and install the Profilepress on your Woocommerce website. As we said before, according to our personal experience, Profilepress is the best plug -in can be used to create forms because it is easy to use and provide a lot of functions.

Next, you need to turn to

Profilepress \u0026 GT; addon \u0026 gt; woocommerce

and open the button ProfilePress 设置 to enable WooCommerce integration.

Create a custom registration and login form for woocommerce

We have already introduced the need for creating the registration and login form before this article we need Take the steps. You need to build a form on your WooCommerce website according to exact steps. After the form is ready, publish them on two separate pages. We also introduced this on \”How to publish a new form on your website\”.

We also show you how to set the new form to the default registration and login on your website Form. You will need to perform the same steps on your Woocommerce website. Add the custom field to the Woocommerce checkout form

There are two types of checkout forms: registration and login. In this section, you will learn how to create a customized checkout registration or login form.

Customized check -in login form WooCommerce 已激活

Do you want to use a custom check login form to replace your default account login form?

First, create a customized login form. We have shown you how to do this in the previous section. Please follow the steps in the \”Create Custom Logistics Form\” section.

finished? Now, turn to

Profilepress \u0026 gt; setting \u0026 gt; conventional \u0026 gt; woocommerce

.

You should see an option called Checkout login form . It has a drop -down set. Select the new form from the drop -down menu and save your settings.

Your customer should be able to log in with a new form at the checkout.

The registration registration form

As for the registration form, Profilepress allows you to add the custom field to the Woocommerce checkout form. You don’t need to create a registry from scratch. Your website uses your default registration form as a checkout registration form, but you can add custom fields to the form.

To add the custom field to the registry, you need to create a custom field first. Turn to Woocommerce \u0026 GT; Set \u0026 gt; account and privacy

and enable the option \”

Allow customers to create accounts during the checkout \”.

and then turn to

Profilepress \u0026 GT; Settings \u0026 GT; CUSTOM FIELDS

\u0026 gt; Add New 登录您的帐户页面. On the next page, enter tags, keys, descriptions and field types. Save your settings.

After the field, add them to the registration form.

Turn to

Profilepress \u0026 gt; Set \u0026 gt; conventional \u0026 gt; woocommerce \u0026 gt; checkout registration field 帐户创建, the field you just created should be displayed as a drop -down list.

Select them

.

In the next part (that is, the necessary registration fields), you can insert the self -defined field you want.

Customized my account registration and login form Use Profilepress, you can choose to set custom registration and login form. You first need to create a form on your WordPress website. Just follow the steps introduced in \”How to create a custom WordPress form\”. Then turn to

Profilepress \u0026 gt; Set \u0026 gt; conventional \u0026 gt; woocommerce \u0026 gt;My account login form

and

select the new login form you just created 自定义字段.

Then turn to

My account registry

and

Select the new registry you just created .

The following is its appearance preview on Woocommerce my account page.

结帐注册字段

That’s it.At this point, we have ended this tutorial.

Last idea

Create custom WordPress registration and login form is a good idea.You can add custom fields, collect more user data and design forms in a way that suits your brand. Although many plug -in can help you create forms on the WordPress website, we find that Profilepress is the best user registration and login form plug -in.It is very easy to use and integrates with the Woocommerce store.

Is this help?我的帐户登录表格

Yes

我的账户
Author:

Leave a Reply

Your email address will not be published. Required fields are marked *