Since I want to learn more about WordPress I am working on a plugin that handles various login related tasks. Version 2 adds the ability to customize the login picture on the wp-admin.php login page. I found a plugin called “Login Logo” by Mark Jaquith which does exactly what I wanted to do and merged that code into my Login Widget (see this post for more info on the first Login Widget).
Now if you upload a graphic named login-logo.png to your wp-content directory the plugin will use it as the logo instead of this one:
I’m not really writing this plugin to share – simply for my own benefit in learning and in customizing my sites. But if it is useful you are welcome to it:
Ray’s Login Widget (version 0.2 .zip archive)
Just a small widget to replace the default “meta” widget in WordPress 3.x Shows (localized) login link when user is not logged in or shows logout and server admin links when user is logged in. Does NOT show the feed and WordPress.org links.
I want to learn to write widgets and this was a good place to start. I might add some more functionality later but for now you are free to use this if you want to add a login link to your sidebar but DON’T want the default feed and WordPress.org links…
rays-login-widget.php (this file is archived in .zip format for security reasons)
Unzip the file above to wp-content/plugins dir on your webserver. Activate “Ray’s Login Widget” in the admin console plugins page. Navigate to Appearance|Widgets in the admin console and drag the “Ray’s Login Widget” to a sidebar. Enter a title for the login link. Done.
P.S. I learned from Justin Tadlock’s post here and from the default-widgets.php file in the WordPress 3.2.1 install (wp-includes/default-widgets.php).