Customize And Add a WordPress Login Form To Your Site

Easily add a forum like WordPress Login Form to your site.

WordPress Login Box (WPLB) lets you add a wordpress login form to your website.

WPLB includes an options panel which gives you control over your form.


  • Different styles
  • Highly customizable
  • Lightweight
  • Can be integreated with any theme
  • Hackable
WPLB is the answer for the question, “how to add a wordpress login form to your site.


WordPress Login FormThe automatic plugin installer should work for most people. Manual installation is easy and takes fewer than five minutes.

1. Download the plugin, unpack it and upload the ‘wp-login-box‘ folder to your wp-content/plugins directory.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. Go to Settings -> WPLB Options to configure the basic options.
4. Paste the following code in the location you want the box to appear in (most of the times this is header.php).

<?php 	if(function_exists('wplb_login')) {   		wplb_login(); 	}   ?>

5. You just created a wordpress login form. Enjoy.


Off course, this plugin is completely free and can be downloaded from the WordPress plugin directory. After you download this plugin, and finish setting it up you will need to paste the plugin’s function somewhere in your theme. This can be hard if you don’t have any coding knowledge. If you need help with that final step, please post a question in the plugin’s forum so that I can help you. I am not going to create a plugin, just so that it could sit there with no support. So please, if you ever need any help with this plugin, create a thread in the forums. So go ahead and download this plugin, and create your own WordPress Login Form!

You can download this wordpress login form creator from here (plugin respiratory).


wordpress login form

The Log-In form with the Blue style

wordpress login form

The Log-In form with the Dark style.

wordpress login form

The Log-Out form with the Dark style.

wordpress login form

The options panel

Sample WordPress Login Form

Here is a sample login form created with wplb. Note that you won’t be able to sign up because I disabled registrations.

Forgot Your Password?

Liked this post? share it!

  • facebook
  • digg
  • googleplus
  • stumbleupon
  • twitter
  • delicious

About The Author

Hey everyone! I'm Jewishcommentator but you can call me Ziv. I am a fairly young blogger (I am only 15 years old) but I try to make the best content possible. Apart from my website, I also have my own YouTube channel which happens to be quite successful with over 3,500 subscribers. The channel's name is "jewishcommentator" which I think explains this website's domain name. In my free time, like to write about things that happen in the YouTube community, or about other things that happen in my life. I also like to write tips and tutorials. Other than blogging, I enjoy playing video games, web design, and creating YouTube videos. Thanks for visiting my website, hope you found what you were looking for.

25 Responses to “Customize And Add a WordPress Login Form To Your Site”

  1. [...] website. WPLB includes an options panel which gives you control over your form. Demo and info at:…res_login_form Forum Administrator Reply With Quote « is there a limit to the [...]

  2. Hi Ziv, thanks for a great plugin.

    I've had a bit of trouble installing the php script above into my header.php. its there and it appears to be working but if I turn on the options for REGISTER or PASSWORD RESET it pushes the whole lot to the next line and then it looks messy.

    Its also floating high at the moment, where ideally I should centre it (top – bottom) in the header section.

    have a look here if you are interested.



  3. You site seems to be down at the moment. When it goes back up please let me know and I will take a look.

  4. Hi Ziv,No its definitely up. would you try again?
    I’ve reduced the options on your plugin so it stays on the one line.

    cheers, John.

  5. Add this code to your style.css file:

    #wplb_wrap {
    margin-top: 5px;

  6. Hi zivCurrently in Thailand but will try this when I get home next week.Thank you for taking the time to lookCheers JohnSent from my iPhone

  7. No problem and have fun!

  8. Hello, can you confirm that loginbox is not accepting input in OPERA???? That would be really sad, I am working with this plugin and just wanted to enter user data from opera – no chance…. Please inform. Thank you!

  9. I will take a look. I have a few more fixes pending so in the next update I will fix it if it actually doesn't work. Thanks for your input.

  10. Word press sites never use registering to begin with. It has always been its special quality that one can come, read the articles and comment right away. I don’t think adding a registering or a login option will do well for you site traffic!

  11. This plugin was created so for sites that use WordPress as a CMS + Store or CMS + Forum. It helps the site\’s users quickly login without visiting a login page. It works well with sites that require you to be a member to use the site. It is a tool that will make WordPress a better platform for ones wanting to use the combinations listed above.

  12. Hello, I like your plugin. I would like to change the working. One example is remove the between Remember and Me. I would also like to change the verbiage for My Profile. Thanks for your help in advance.

  13. Go to your style.css in the theme editor and add the following piece of code:
    #wplb_main {width: 315px;}
    Then in your plugin editor select wp-login-box. Then click on in.php (located at the left side). Search for this line of code (Control + F):
    <span class='wplb_text'>Remember me?</span>
    Remove the from the code so that it would look like this:
    <span class='wplb_text'>Remember me?</span>
    Now the first part should be fixed.
    Next, select in.php from the left side and look for this following line of code:
    $profilelink = "<a class='wplb_link' href='$blog_title/wp-admin/profile.php'>Your Profile";
    Change where it says Your Profile to whatever you want, in your case "My Profile". Then it should look like this:
    $profilelink = "<a class='wplb_link' href='$blog_title/wp-admin/profile.php'>My Profile";
    Hit save again and now everything should be fixed.

    The next plugin update will include the options to change the text you wanted to change, and to add/remove the line-break without editing any code.
    When the new update arrives, you will have to re-config your settings but it will be a lot easier.
    Please let me know if you got it to work or if you need more help.

  14. I'm using Impact Page Builder. Can you tell me what code to enter and where.

  15. Follow the same instructions any other user would follow and let me know if it works.

  16. hi i want use it in post page, how i can do it?

  17. Do you want it to show on any post, or just on a specific one?

  18. Thanks for the help, it was all a lot easier than I thought and much better:)

  19. When I click on the Profile once logged in, it directs me to the wp-admin profile. I would like it to actually go to the members profile, so rather than, I would like it to direct to Thanks. Great plug-in by the way.

  20. That feature will be available in the next plugin update :)

  21. great plugin . How to use it on none-wordpress page, example: abc.php

  22. Thanks!
    This plugin realize on WordPress functions and the WordPress login system. Unfortunately you can't use this plugin on pages where WordPress is not being used.

  23. Wow plugin, awesome functionality. Cheers!

  24. Hey Ziv, amazing plugin, left you a review on WP…

    I have a plugin WishList Member for my site, not sure if you're familiar with it. Long story short, It provides shortcodes that reference certain attributes of our site's members (first name, last name, email address etc) that they supplied when registering. Im wondering if instead of the WP username appearing on the "log out form?"

  25. Im wondering if instead of the WP username appearing on the "log out form?"

    Not really sure what you meant there, if you don't mind rephrasing it then please do, I might be able to help.

Leave a Reply