There’s a few plugins for this, including a widget that can go into a sidebar.
But you can also do it yourself just by creating the proper login form somewhere on the site. Here’s the most basic form that will work. Modify it as needed.
<form action="/path/to/wp-login.php" method="post">
<label>Username: <input type="text" id="user_login" /></label>
<label>Password: <input type="password" id="user_pass" /></label>
<label><input type="checkbox" id="rememberme" value="forever" />
Remember Me</label>
<input type="submit" id="wp-submit" value="Log In" />
<input type="hidden" name="redirect_to" value="http://example.com/where/you/want/users/to/go/afterwards" />
<input type="hidden" name="testcookie" value="1" />
</form>
Thread Starter
in2sky
(@in2sky)
Woow, thank you so much! the plug-in works!
I can’t believe WP haven’t thought of this.
In any case it works and I love it 🙂
Hello…I have the same problem as above. I put the code in the side bar, and I get the appropriate sign in screen.
However, I am doing something wrong…because I come up with a “page not found after entering the info.
I am sure I am doing something wrong with the code. Exactly how do I change it to go where it is suppose to go?
The “http://www.example…” is that where I place the URL to my Blog? The code is already on the page I want them to go to, so I am really confused.
Any help would be greatly appreciated.
This doesn’t work, am I missing something?