Learn how to add a log-in form to your WordPress sidebar
Learn how to add a log-in form to your WordPress sidebar – Do you want to add a login form to the sidebar of your WordPress blog?
Users may easily log in from anywhere on your website thanks to a login form in the WordPress sidebar. Online businesses may want to make it easy for customers to find the login page to boost sales, keep students in courses longer, and achieve other goals.
This post will demonstrate how simple it is to add a unique login form to your WordPress sidebar.
When and Why Would a Custom WordPress Login Form Be Necessary?
If you operate membership websites, online shops, or offer online courses, you probably need people to check in before they can carry out certain tasks.
Every page of a website has a sidebar, which makes it simpler to discover and use the login form from any page.
Users may sign in to their accounts quickly by adding a login form to your WordPress sidebar. This improves the user experience, raises engagement, and boosts form conversions.
In light of that, let’s examine how you may quickly add a login form to your WordPress sidebar. We’ll demonstrate both how to make a custom login form and how to add the standard login form to the sidebar.
To get to the part you want to read, click the buttons below.
Method 1: In the sidebar, place the WordPress Login Form.
Method 2: Creating a Custom Login Form with the WPForms Plugin.
Let’s start by adding a log-in form to your WordPress sidebar step by step.
Method 1: In the sidebar, place the WordPress Login Form.
On your website, you may display the standard WordPress login form in the sidebar. Users can now quickly and easily get to the WordPress admin area by just entering their username and password.
We’ll utilize the Astra theme for this instructional guide. Be aware that based on the WordPress theme you’re using, the choices may change.
From your WordPress dashboard, go to Appearance » Widgets to get started.
To add the “Login/out” widget block to your sidebar, click the “+” button here, scroll down to the “Theme” section, and then click the widget block.
The ‘Login/out’ block will then appear in your widget area. The option to show the login as a form may then be enabled.
After making your changes, press the top-right “Update” button.
The default WordPress login form will thereafter be shown when you visit your website.
To view how the form will look to your members, just log out of your website.
Method 2: Creating a Custom Login Form with the WPForms Plugin.
Only the username and password fields are available on the WordPress login form by default. But you can make a separate user registration form with more information and options to make it your own.
WPForms is the best plugin to use for this. The most popular form plugin for WordPress, WPForms, has a premium version that makes it easy to make WordPress login and registration forms with custom fields.
Users of HowToFixWp.com may receive 50% off their purchases by using the WPForms Coupon: SAVE50.
The WPForms plugin has to be installed and activated initially.
After activation, you must input your license key on the WPForms » Settings page. Your WPForms account on their website is where you may get your license key.
You must go to the WPForms » Addons page after verification.
From here, you must click the “Install Addon” button next to the “User Registration Addon” after scrolling down to it.
Your website will now have the add-on installed and enabled immediately.
You can now start building a unique WordPress login form. Visit the WPForms » Add New page to go to the WPForms builder.
You must first provide a form name in the top field before choosing the pre-built “User Login Form” template. Simply click the “Use Template” button after hovering over it.
Learn how to add a log-in form to your WordPress sidebar
It will show the login fields that are already pre-filled in your form. To modify a field, click on it. You can also add additional fields from the left column.
With WPForms’ drag-and-drop builder, you may add a variety of form fields. You may include name or CAPTCHA form fields in the login form, for instance.
After that, click the Confirmation section under the “Settings” tab.
You must specify what happens once a user successfully signs in to your website at this point.
A message, a unique page, or a redirect URL to any page on your website are the available choices.
Once a person logs in, you should ideally send them to a certain page. This might be your website’s main page, the WordPress administration area, or any other page, like your client portal or membership dashboard.
Then you may click the top-right “Save” button to leave the form builder.
You may now access your login form. You may do it from here and then add it to your WordPress sidebar.
Simply go to your WordPress admin area’s Appearance » Widgets page. Add the “WPForms” widget block to this page in the sidebar widget section of your website.
From the selection menu, choose your user login form next.
In the settings panel to your right, there are more choices that you may see. There are choices, for instance, to display the form’s title and description.
When you’re finished, don’t forget to click the “Update” button.
Visit your website right away to view the personalized login form.
WPForms may be used to create a personalized user registration form with anti-spam capabilities.
You should now be able to add a login form to your WordPress sidebar, and we hope this post was helpful. You may also be interested in our detailed tutorial on How to add reCAPTCHA to the WordPress comment form.