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.3
File Format: application/zip
Requires: WordPress 5.3
Rating: 5.0 based on 2 votes
See All Ratings/Submit Your Rating Here
Price: 0 USD

Requirements

  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:

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

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

34 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

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

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

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

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

      Reply
  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.
    Thanks

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

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

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

        Reply
  4. How do i make the login button bigger ?

    It doesn’t look good.

    Check lowcarbindia.com/vip/

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

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

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

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

      Reply
  7. hi
    how about captcha code?
    thank you

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

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

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

      Reply
  10. Okay, thanks for responding so quickly.

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

    Reply
    • I’m also missing this feature.

      Have you solved it?

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

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

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

    Reply
    • 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… 🙁

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

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

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

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

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

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

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

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

      Reply

Leave a Comment