A Wordpress Login Widget – Sidebar Login Widget
This plugin has now been replaced by an updated version which you can find here
Want to allow users to log into wordpress from the sidebar? Doing so is not as simple as it sounds, so to ease your stress I have created a widget to handle everything.
It lets users login, and then redirects them back to the page they logged in from rather than the backend, it also shows error messages. Read more for more information and the download link.
Sidebar Login Widget v1.5 Build 20070122
By Mike Jolley ( http://www.blue-anvil.com )
What is it?
It’s a widget that allows users to login to wordpress from the sidebar! It uses php sessions to cleverly retrieve the wordpress login error messages, and uses redirects to send the user back to the site, rather than the wordpress backend.
Screenshots
User not logged in:

User logged in:

Errors!

Get it now!
| Index |
Installation Instructions
Simply:
- Unzip and upload the php file to your wordpress plugin directory
- Activate the plugin
- Goto the presentation > widgets tab
- Drag the widget into a sidebar and save!
| Index |
License
Wordpress Sidebar Login Widget © Copyright 2007-current.
Mike Jolley
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
| Index |
Support my sweat, blood and tears
I know, that sounds gross, but we really did put ALOT of effort into this widget. If you like this widget please make a donation via paypal! Any amounts are welcome, your support is much appreciated.
| Index |
Found this post useful? Why not buy me a coffee!











Cleo says:
Thank you very much. However, can you elaborate on how to set this up with CSS tags? I’m having a terrible time trying to customize the look and feel of this.
Comment made on May 3, 2008 at 2:29 am
Mike Jolley says:
Cleo – look at the form code in the plugin; use the id’s. e.g. li#sidebar-login { background-color:#ccc; }
Comment made on May 3, 2008 at 9:32 am
Cleo says:
I looked through the .php file – probably the wrong place to look and came up empty. I spent quite a few hours trying various permutations of code and made little ground. I also looked at other people’s CSS to see what they were doing.
Would it be possible to include a .css reference sheet with this plugin?
Thanks!
Comment made on May 3, 2008 at 8:40 pm
Mike Jolley says:
Search the plugin for “
Comment made on May 3, 2008 at 10:40 pm
Matthew says:
Great widget. Having a reacuring problem though.
When a user tred and logs on via the widget they get this message; “ERROR: WordPress requires Cookies but your browser does not support them or they are blocked.” but if they retry in the same page as the error message they get redirected to their dashboard. WHat do i do?
Comment made on May 9, 2008 at 2:29 pm
Mike Jolley says:
I have not been able to find the cause of this; some people get it, some people dont. I will most likely create a new version for v2.5 specifically.
Comment made on May 10, 2008 at 4:31 pm
manuel manceli says:
nice plugin bro. make more plugin so that i we are always in your side
THANK AGAIN
Comment made on May 13, 2008 at 11:17 am
jay says:
Hey,
I installed the side login, which is great.
but when users register they dont get emailed a password. I have got a few people to register on different comps, but no password is emailed.
Any ideas whats happening here?
Thanks,
Comment made on May 20, 2008 at 2:00 pm
Mike Jolley says:
@jay – this widget does not handle registrations..its down to wordpress itself.
Comment made on May 20, 2008 at 2:42 pm
jay says:
to mike jolley:
cheers mike.
yeah that makes sense.
so any ideas why wordpress isnt emailing the passwords. I cant see anything in the settings that could affect it.
Or do i need to allocate an email address from my site for wordpress to use to email people??
any help would be great
)
Comment made on May 21, 2008 at 2:30 am
Mike Jolley says:
Check your host has the mail() function, or just post on official wordpress forums for help.
Comment made on May 21, 2008 at 10:13 am
Brian Vaughan says:
Great Plugin. I would like to add this to the list of default widgets for *some* themes in a wp_mu installation. What code should I add to the sidebar.php file to accomplish this?
thanks!
Comment made on May 27, 2008 at 11:02 pm
Lucas says:
Hi,
Just like Seth I also have problems to log out! But only when I log out viewing post. When you log out from the frontpage the URL looks like:
logout&redirect_to=URL/ Then I logged out and see the frontpage.
But when I log out while viewing a post or page it goes wrong. The link then is: redirect_to=URL/?p=5. Now I get an Internal Server Error.
When viewing a page and use the first URL (as if im logging out from the frontapge) it goes fine.
Of course I change the redirect URL to fix this, but the strange this is that it only happens on the WP installation on my external webserver. On my localhost it all works!
Any ideas?
Comment made on June 4, 2008 at 10:41 am
Eric says:
Plugin works great on WPMU 2.7 and WP2.7, except for the logout. When attempting to logout, i get redirected to an error page that says “you are attempting to log out” and i am unable to logout. The log out link shows … wp-login.php?action=logout&redirect_to=http://blogs.mysite.com It seems to be missing the wpnonce call. Any thoughts?
Comment made on January 30, 2009 at 7:54 pm
WPPR says:
Like a poster above from 2007, I have this installed and it works great, but I am not seeing the register link???
This is installed on the main blog on the latest WPMU and BuddyPress.
Comment made on February 6, 2009 at 2:16 am
Kurt says:
Every time I try and add a link for “Dashboard” or “Profile”, the update adds “\” before and after the intended url. I tried editing the php file without any luck. Is there a way to correct these links?
Many Thanks!
Comment made on April 6, 2009 at 4:07 pm