WordPress Login Form Plugin

WP Login Form is a login form plugin for WordPress that allows you to add a simple login form to a post, page or the sidebar with a shortcode. This is very useful for websites that are managed by multiple WordPress users or run a membership/affiliate platform. With this WordPress login form, a user/member/affiliate can quickly login to WordPress and manage their account.

Table of Contents

wp login form wordpress plugin

WP Login Form Info

Plugin Name: WP Login Form
Version: 1.0.9
File Format: application/zip
Requires: WordPress 6.1
Rating: 5.0 based on 9 votes
See All Ratings/Submit Your Rating Here
Price: 0 USD

WP Login Form Installation

There are 3 ways to install the WP Login Form plugin in WordPress.

Option 1

  • 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

Option 2

  • 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

Option 3

  • Download the WP Login Form 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:

[wp_login_form]

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.

redirect

An absolute URL to which the user will be redirected after a successful login. For example,

[wp_login_form redirect="https://example.com/mypage/"]

The default is to redirect back to the URL where the form was submitted.

form_id

Your own custom ID for the login form. For example,

[wp_login_form form_id="myloginform"]

The default is “loginform”.

label_username

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”.

label_password

Your custom label for the password field. For example,

[wp_login_form label_password="Login Password"]

The default is “Password”.

label_remember

Your custom label for the remember field. For example,

[wp_login_form label_remember="Remember"]

The default is “Remember Me”.

label_log_in

Your custom label for the form submit button. For example,

[wp_login_form label_log_in="Submit"]

The default is “Log In”.

id_username

Your own custom ID for the username field. For example,

[wp_login_form id_username="wp_user_login"]

The default is “user_login”.

id_password

Your own custom ID for the password field. For example,

[wp_login_form id_password="wp_user_pass"]

The default is “user_pass”.

id_remember

Your own custom ID for the remember field. For example,

[wp_login_form id_remember="login_rememberme"]

The default is “rememberme”.

id_submit

Your own custom ID for the form submit button. For example,

[wp_login_form id_submit="login_form_submit"]

The default is “wp-submit”.

remember

Specify whether to display the “Remember Me” checkbox in the form. For example,

[wp_login_form remember="0"]

The default is “1” (true).

value_username

Your custom placeholder attribute for the username input field. For example,

[wp_login_form value_username="Your Username"]

The default is NULL.

value_remember

Specify whether the “Remember Me” checkbox in the form should be checked by default. For example,

[wp_login_form value_remember="1"]

The default is “0” (false).

lost_password

Specify whether to display the “Lost your password?” link in the form. For example,

[wp_login_form lost_password="0"]

The default is “1” (true).

label_lost_password

Your custom anchor text for the “Lost your password?” link. For example,

[wp_login_form label_lost_password="Reset Password"]

The default is “Lost your password?”.

WP Login Form Demo

Here is a screenshot of the WordPress login form,

screenshot showing a user login form created by the WordPress Login Form plugin

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.

wp login form menu

Enable Google reCAPTCHA v3 and enter your Site Key in the settings.

wp login form settings

Click Save Changes to update your settings.

WP Login Form Add-ons

WP Login Form plugin comes with various add-ons that you can use to enhance its functionality on your website.

Force Redirect

Force Redirect add-on allows you to set up a force redirect URL on your website (Settings > WP Login Form > General).

force redirect url settings page created by the wp login form plugin

When this add-on is active, all successful WordPress logins will automatically redirect to the force redirect URL.

WP Login Form Force Redirect
WP Login Form Force Redirect
Redirect all successful WordPress logins to a specific URL.
Price: $59.99
Price: $29.99

Priority Support

If you are having an issue with the plugin, our support team can help investigate it by taking a closer look at your site.

WP Login Form Technical Support
WP Login Form Technical Support
Our technical support team will troubleshoot WP Login Form plugin related issues on your website.
Price: $59.99
Price: $29.99

61 thoughts on “WordPress Login Form Plugin”

  1. hello, thanks for creating this plugin! is it possible to add ‘placeholder’ text to the fields?

    Reply
  2. Hello Noor,
    How can i change and edit the text in the “Your username and password” email? I have a site with German language – but the email is now in english!

    Thx in advance!

    Madzzoni

    Reply
    • @Madzzoni, The email comes from WordPress. Unfortunately there is no option to customize it in the plugin.

      Reply
  3. Hi, when you type a wrong password, there is no message, the form remains the same. Is this correct? There is a parameter to use to display an error message?

    Thank you

    Reply
    • @Guido, If the password is wrong WordPress shows an error and redirects the user to the wp-login page.

      Reply
      • Is it possible to change it so that the form does not redirect to wp-login, but instead displays an error and remains on this login page?

        Reply
        • @MD, WordPress doesn’t offer an option to do this at the moment.

          Reply
  4. Hi!
    I don’t receive lost password email to change it.
    The email of the site is correct.

    Thanx!

    Reply
    • @Jordi, The email is automatically sent by WordPress.

      Reply
  5. Hey Noor,

    thanks for your great and easy Plug-Ins!
    A support for hCaptcha (https://wordpress.org/plugins/hcaptcha-for-forms-and-more/) would be extremly lovely!

    Reply
    • @Kalle, The plugin already supports Google reCAPTCHA v3.

      Reply
  6. Hi,

    Love the plugin, but please wrap the “Lost password” fallback string in a _e function and add it to the language file so it is translatable for people who don’t use the shortcode attributes 🙂

    main.php:249
    $lost_password_label = !empty($label_lost_password) ? $label_lost_password : ‘Lost your password?’;

    Should be:
    $lost_password_label = !empty($label_lost_password) ? $label_lost_password : _e(‘Lost your password?’, ‘wp-login-form’);

    Thank you!

    Reply
  7. Very nice, neat plugin. Note: if it is to be used as a sidebar widget it’s best to paste the shortcode into a Custom HTML widget and not a Text widget, otherwise the layout is not correct (well, it wasn’t with the template I was using).

    Reply
  8. I set up the redirect, but it doesn’t work.
    What’s wrong?
    [wp_login_form redirect="https://"mydomain"/?page_id=381"]

    Reply
    • @Szilard, Please provide a link to the page in question so I can check it.

      Reply
  9. I created a login page with a redirect.
    Can you set it that when you are logged in already and go to the login page, you are re-directed automatically?

    Reply
    • @Arnoud, There is already a redirect option for non-logged in users. Adding another redirect will cause a double direction.

      Reply
      • Thanks for you quick reply!
        Yes, I see.
        So if people are logged in and want to return to the redirect page later, they need to log out and log in again?
        No other way?

        Reply
        • @Arnoud, That is correct. It’s not a membership plugin. The plugin simply adds a login form that can be used to log in to WordPress.

          Reply
  10. There is a important issue for German Users GDPR related which might seams super facepalming for anyone ouside, ok also for us germans.

    When using the plugin and intentionally not having google recaptcha not enabled the script will be loaded.
    The Script should be only loaded when this option is enabled.

    Reply
    • @Martin, I have just released an update to fix this issue.

      Reply
  11. Hello. Is there any way to adjust the sensitivity of the reCAPTCHA V3, or is this a feature you might add?

    Reply
    • @Peter, I don’t think there is an option for it. It is automatically done by Google.

      Reply
  12. I have a user-role-specific redirect plugin that works perfectly with WordPress own login, (/wp-login.php) but if I leave redirect blank on this plugin, it just sits on the same form page, ignoring the redirect logic in the other plugin. I understand you do not support 3rd party plugins, but can you tell me what is different about your use of WP hooks that would cause different behavior than the wp-login.php version of WordPress login?

    Reply
    • @Bill, The plugin is using the core WordPress login functionality. But it doesn’t apply any global redirection using hooks/filters to prevent conflicts with other plugins.

      Reply
  13. Hi! The layout gets different for me, the input fields are not under the labels, they are on the right side of the labels, how do I fix this?

    Reply
  14. i want to change the text “Lost your password?”.
    where to go change the text. please tell me?

    Reply
    • @supreet, You can use the “label_lost_password” parameter in the shortcode. I have updated the documentation.

      Reply

Leave a Comment