WP Login Form is a login form plugin for WordPress that allows you to embed a simple login form into a post, page or the sidebar with an easy-to-use shortcode. This is very useful for websites that are managed by multiple WordPress users or run a membership/affiliate platform. With this login form, a user/member/affiliate can quickly login to WordPress and manage their account.
WordPress Login Form Info
- A self-hosted WordPress site running on a WordPress Optimized Environment.
- Support for the WordPress shortcode API.
WP Login Form Installation
There are 3 ways to install the WP Login Form plugin in WordPress.
- Login to your WordPress admin dashboard
- Go to Plugins->Add New
- Enter WP Login Form in the search box
- Find the right plugin developed by naa986
- Hit the install button
- Download the zip version of the plugin
- Go to Plugins->Add New and Click Upload
- Select the zip file on your computer
- Upload and install it
- Download the zip version of the plugin and extract it on your computer
- Connect to your website via FTP (you can use a software like Filezilla to transfer files to your server) and browse to the “/wp-content/plugins” directory
- Select the folder containing the plugin files on your computer and upload it
- After all the plugin files have been uploaded to your web server, you can activate the plugin from the Plugins menu of your WordPress admin dashboard
How to Create a Login Form/Custom Login Page for WordPress
The easiest way to create a login form or a custom login page for WordPress is to add this shortcode to a post/page:
If you wish to add it to the sidebar you can create a text widget and embed the shortcode into it.
The default should be fine for most sites. However, if you are an advanced user and wish to customize the login form, they are parameters that you can pass in the shortcode to customize it.
An absolute URL to which the user will be redirected after a successful login. For example,
The default is to redirect back to the URL where the form was submitted.
Your own custom ID for the login form. For example,
The default is “loginform”.
Your custom label for the username/email address field. For example,
[wp_login_form label_username="Login ID or Email"]
The default is “Username or Email Address”.
Your custom label for the password field. For example,
[wp_login_form label_password="Login Password"]
The default is “Password”.
Your custom label for the remember field. For example,
The default is “Remember Me”.
Your custom label for the form submit button. For example,
The default is “Log In”.
Your own custom ID for the username field. For example,
The default is “user_login”.
Your own custom ID for the password field. For example,
The default is “user_pass”.
Your own custom ID for the remember field. For example,
The default is “rememberme”.
Your own custom ID for the form submit button. For example,
The default is “wp-submit”.
Specify whether to display the “Remember Me” checkbox in the form. For example,
The default is “1” (true).
Your custom placeholder attribute for the username input field. For example,
[wp_login_form value_username="Your Username"]
The default is NULL.
Specify whether the “Remember Me” checkbox in the form should be checked by default. For example,
The default is “0” (false).
Specify whether to display the “Lost your password?” link in the form. For example,
The default is “1” (true).
WP Login Form Demo
Here is a screenshot of the WordPress login form,
How to Enable Google reCAPTCHA
You can optionally add Google reCAPTCHA v3 to protect your login form against spam and other types of automated abuse. To enable this feature, go to Settings > WP Login Form.
Enable Google reCAPTCHA v3 and enter your Site Key in the settings.
Click Save Changes to update your settings.Disclosure: This page may contain affiliate links. If you follow one of those affiliate links and purchase something it will provide me with a little bit of a commission. This costs you nothing extra but helps maintain my site, free plugins, and themes. So I thank you for your support.