WordPress Sidebar Login 2 – Optimised for wordpress 2.6
At last! My sidebar login widget has evolved into ‘Sidebar Login’ which has both a widget and a template tag to allow you to have a login form in the sidebar of your wordpress powered blog.
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
Sidebar login is self explanatory really; it allows users to login to wordpress from the sidebar! This plugin requires wordpress 2.6 (that is all I have tested) in order to function; this is because wordpress 2.6 has a modified login system to older versions.
Screenshots

Login Form

Logged in
Change Log
You can track changes to the plugin in the wordpress plugin SVN.
Get it now!
You can get the latest version from the wordpress plugin database; Download it here!
Installation Instructions
- Unzip and upload the php file to your wordpress plugin directory
- Activate the plugin
- For a sidebar widget: Goto the design > widgets tab – Drag the widget into a sidebar and save!
- To use the template tag: Add
<?php sidebarlogin(); ?>to your template.
License
WordPress Sidebar Login © Copyright 2008-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.
optimised
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
Show your support – ensure continued development
I put a lot of effort into all of my plugins; its thirsty work so why not show your support by buying me a nice coffee
Found this post useful? Why not buy me a coffee!










Hawkslayer says:
Should have realized it wouldn’t show the code.
Hawkslayer.
Comment made on August 3, 2008 at 2:48 pm
Mike Jolley says:
Dont worry about it (p.s. it will show if you use <code> tags)
Comment made on August 3, 2008 at 2:56 pm
Taumee says:
Hi Mike,
thanks for the widget! It works far better for me than the option that comes with the NAVT plugin. Just one question: When I am logged in it doesn’t display the user name. It just says “Welcome”. Any idea why this could be?
I have translated the widget into German. I’ll send it to you if you’re interested. It’s just a few lines though, so maybe not worth the effort.
Thanks a lot!
Taumee
Comment made on August 3, 2008 at 5:36 pm
Ederic Eder says:
Thanks for this great plugin. I’m using it on my e-zine, Tinig.com, among other sites. Can I still show the user’s name after the word “welcome” like it did in the previous version?
Comment made on August 3, 2008 at 6:54 pm
Shutterscript says:
Hi,
I was using the old version of this plugin and it was working fine with my wordpress 2.6 installation; however, upon updating to version 2 of the plugin, it will only display the “Welcome, dashboard, profile, logout” menu regardless of whether or not I am logged in or out. Any idea why this might be happening?
Thanks
Comment made on August 7, 2008 at 6:48 pm
Aditya says:
I am having the same issue as Taumee.. the widget only shows Welcome, but not the username. Please help!
Comment made on August 9, 2008 at 4:05 pm
Mike Jolley says:
*shutter – check later – Im updating it to rectify this.
Comment made on August 9, 2008 at 4:07 pm
Mike Jolley says:
Fixed
Comment made on August 9, 2008 at 4:13 pm
Mike Jolley says:
^ Fixed welcome text i mean.
Comment made on August 9, 2008 at 4:13 pm
Alvarp says:
I have a problem with logout…
when i click in logout.. the session not is closed..
Excuse my english
Comment made on August 10, 2008 at 4:38 am
Alessandra says:
I am still on wp 2.5 and downloaded your new sidebar.
this is what I get:
Fatal error: Call to undefined function: is_ssl() in /web/htdocs/www.lesswire.it/home/wp-content/plugins/sidebar-login/sidebar-login.php on line 116
any ideas?
Comment made on August 12, 2008 at 9:41 am
Phil the admin says:
I’m getting the same error as Alessandra above from 9:41a on Aug12. In looking at the installed DCODA INFO widget with the LOGIN/LOGOUT functionality selected, the destination URL is:
http://metromomas.com/firstwords/wp-login.php?action=logout
While the Sidebar Login widget destination URL is:
http://metromomas.com/firstwords/?logout=true
I REALLY REALLY like the functionality and plugin-playedness of your widget, but this just isn’t working… and I just don’t know PHP well enough to modify the URL.
This is the error that I get when I login:
Fatal error: Call to undefined function: is_ssl() in /home/metromom/public_html/firstwords/wp-content/plugins/sidebar-login/sidebar-login.php on line 116
This is the error that I get when I logout:
Fatal error: Call to undefined function: wp_logout() in /home/metromom/public_html/firstwords/wp-content/plugins/sidebar-login/sidebar-login.php on line 109
I’m using WP v2.2.2 while your README.txt says 2.0 is sufficient…
(please please fix! would be amazing, this widget still is amazing!)
BEST,
Comment made on August 13, 2008 at 6:15 am
Mike Jolley says:
is_ssl() is part of the newer versions of wordpress, I may not have updated readme, but this is wp 2.6 optimised so i doubt it will work for you at this time.
Comment made on August 13, 2008 at 12:05 pm
Prateek Raman says:
Hi
I get the following error when I use the plugin to login:
Fatal error: Call to undefined function is_ssl() in \planetricks.com\httpdocs\wp-content\plugins\sidebar-login\sidebar-login.php on line 116
Though, if I use the default wordpress login and navigate to the home page, it displays the links correctly as shown in your screenshot and all the links work.
Please help.
Comment made on August 15, 2008 at 10:07 am
Mike Jolley says:
is_ssl is part of wordpress 2.6. Looks like Im going to have to replace it.
Comment made on August 15, 2008 at 10:37 am
Alvaro says:
And the problem with logout ??
Comment made on August 15, 2008 at 9:31 pm
Gene says:
Hi Mike,
Nice plugin but I was wondering if Dashboard could be made invisible to simple registered members (subscriber) and only show Profile and Logout.
Just a thought,
Gene
Comment made on August 16, 2008 at 12:07 am
make money blogging says:
I wish you would post more often…this is my “coffee drinking” blog:) Edgar Allen
Comment made on August 16, 2008 at 8:53 am
Nicolas says:
Hi Mike,
I’m using your WordPress Download Monitor plugin in its latest revision (2.1.4). It works great. However, I have a little trouble with the WordPress check for new plugins – it keeps saying there is a new revision of WordPress Download Monitor available:
“There is a new version of WordPress Download Monitor available. Download version 2.1 here or upgrade automatically.”
However, when clicking on the “download” link, I’m redirected to the Sidebar Plugin home on wordpress.org (http://wordpress.org/extend/plugins/sidebar-login/)
Any idea why it happens?
thanks for your help,
Nicolas
Comment made on August 17, 2008 at 1:16 pm
Cord Covers says:
I tried to subscribe to your feed but it didn’t show up on my homepage at yahoo.com. Is it working correctly?
Comment made on August 20, 2008 at 11:49 am
Mike Jolley says:
Feed should be working fine – http://feeds.feedburner.com/blueanvilblog.
@gene – You can modify the plugin file and remove the links manually.
@Nicolas – Should be fixed now I updated them both.
Comment made on August 20, 2008 at 12:58 pm
Rob says:
Hi, I am having the same issue as above – the link to log out isnt working, simply refreshes the page but still logged in. Any thoughts?
Im using WP 2.61
Rob
Comment made on August 20, 2008 at 2:35 pm
Trey says:
Hi Mike,
Great mod, just what I was looking for with one issue. I am using the latest wp release with the wp-andreas01 theme and the input boxes for user name and password do not show so the data can’t be entered. I get the error messages if I hit submit and if I am logged in I get the correct menu.
I am new to wordpress and just building the site. Is the issue in the CSS for the theme or ????
Thanks
Trey
Comment made on August 21, 2008 at 3:37 pm
DeL says:
Hi Mike, I’m having the same issue – those link which supposed to made me log out didn’t worked..im locked in my own web. lol
the point is, link to log out isnt working, i’ll try experiment with your widget !, i’ll send you some of my report !
Comment made on August 23, 2008 at 2:05 am
phil says:
Hi, I have the same issue with the logout. Are there any solutions to this yet? Seems like this is the one question not being answered, while being asked the most.
Comment made on August 29, 2008 at 12:21 pm