WordPress Login Form Plugin

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

Plugin Name: WordPress Login Form
Version: 1.0.7
File Format: application/zip
Requires: WordPress 5.8
Rating: 5.0 based on 8 votes
See All Ratings/Submit Your Rating Here
Price: 0 USD


  1. A self-hosted WordPress site running on a WordPress Optimized Environment.
  2. Support for the WordPress shortcode API.

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 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,

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

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


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

[wp_login_form form_id="myloginform"]

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,

[wp_login_form label_remember="Remember"]

The default is “Remember Me”.


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

[wp_login_form label_log_in="Submit"]

The default is “Log In”.


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

[wp_login_form id_username="wp_user_login"]

The default is “user_login”.


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

[wp_login_form id_password="wp_user_pass"]

The default is “user_pass”.


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

[wp_login_form id_remember="login_rememberme"]

The default is “rememberme”.


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

[wp_login_form id_submit="login_form_submit"]

The default is “wp-submit”.


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

[wp_login_form remember="0"]

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,

[wp_login_form value_remember="1"]

The default is “0” (false).


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

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.

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.

52 thoughts on “WordPress Login Form Plugin”

  1. Thanks a lot for your plugin! i successfully use your plugin on my club page. i have a request: would it be possible to include an option to hide the user field and display only the password field? i use it with the plugin “wordpress access areas”. once the user has entered a password, he is logged in and only sees his area. i would like to restrict it so that he cannot change the username.

    best regards

    • @Markus, The plugin doesn’t show the login form when a user is logged in.

      • *Before* the user is logged in. I want to set a fixed user in the background and only display the password field

  2. Does the plugin accept more than one parameter? I am trying to use 3 and they don’t all work as intended.

    • @John, It should. What shortcode are you using?

  3. HI awesome plugin.
    If the user set the pass or email wrong, is there a possibility to show the error on the same page that i add de short code? now it takes you to the wp-login page and then show me the error.

    • @Oscar, Unfortunately this is not possible because WordPress doesn’t support it at the moment.

      • But how come is that possible when trying to login with /my-account/ on woocommerce then? 🙂

      • Sensei LMS plugin also has custom login and logout with error capture as well. Maybe it would be worthwhile seeing how they implemented it?

  4. How do i make the login button bigger ?

    It doesn’t look good.

    Check lowcarbindia.com/vip/

  5. how add/appear customer login form in my e-commerce site

    • @Shihad, I’m not sure what you mean. Are you using a shortcode?

  6. Is there anyway to customize the font colour and to align the bars (input text field)?

    • @Sandra, It might be possible since the form is generated by WordPress. Which font are you trying to customize?

  7. hi
    how about captcha code?
    thank you

  8. Is there a way to hide the logout button once a user is logged in? Great plugin by the way!

  9. It it possible to redirect customers to the login page when they log out?

    • @Monique, Unfortunately that’s not possible at the moment.

  10. Okay, thanks for responding so quickly.

  11. My login page error message does not display. Have any short-code for this. Can i display error message any place.

    • I’m also missing this feature.

      Have you solved it?

  12. Thank you for a great plug-in! Is it possible to hide the log-out button once a user is logged in?

  13. can we please change style of background elements (label and input text) and also size of those. thanks

  14. Is it possible to set a label for “Lost your passwort?” to translate this into another language?
    Thank you!

    • Hi, this should be very nice to allow easy translation of “Lost your password?” !
      I do it by editing “plugins/wp-login-form/main.php” but I have to do it at every plugin updates… 🙁

  15. Why does mine look completely different to the screenshot?

  16. The submit-button on my login-page is black. I see no text.
    What could be the reason?

  17. Is there a way to do that when you click on log out you go to the home page and not to the wp-login.php ???

  18. It does exactly what I want and no more. I was about to write my own plugin doing exactly this, now you spared me the trouble. Thank you!

  19. When the user types in an incorrect password, they are routed to the generic WordPress login page at https://domain.com/wp-login.php. Is there a way we can keep them on the custom login page where the form is embedded instead?

    • @Craig, Unfortunately that’s not possible at the moment.

  20. Is it possible to have a signup/registration link below “Lost my password”?

    • @Vik, Unfortunately that’s not possible at the moment.

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

  22. 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, The email comes from WordPress. Unfortunately there is no option to customize it in the plugin.

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

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

      • 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?

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

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


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

  25. 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!

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

  26. 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 🙂

    $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!

  27. 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).

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

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

  29. 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?

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

      • 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?

        • @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.


Leave a Comment