Customize WordPress login logo without a plugin

Nothing hard with this recipe. The only thing you have to do is to copy the following piece of code, and paste it on your functions.php file:

function my_custom_login_logo() {
echo ‘<style type="text/css">
h1 a { background-image:url(‘.get_bloginfo(‘template_directory’).’/images/custom-login-logo.gif) !important; }
</style>’;
}

add_action(‘login_head’, ‘my_custom_login_logo’);

This hack has been submitted by Rami. Thanks for your contribution!
Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!Customize WordPress login logo without a plugin

You Might Also Like...

  • How to define your own dashboard logo

    872 readersBy default, the "W" WordPress logo is displayed on the top left side of the dashboard. If for some reason, you'"d like to add your own logo, just read this recipe.Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!How to define your own dashboard logo

  • WPCandy’s Login Logo Plugin

    274 readersI had a few minutes at Starbucks before a client meeting yesterday so I decided to tackle the next plugin on my idea list. With the Login Logo plugin, you change the logo on WordPress’s login screen to an image of your choice via a simple options screen. It’s pretty much a simple two-step process.

  • ;)

    WordPress hack: Show your top contributors without a plugin

    2231 readersDo you ever wished to be able to list your top contributors without using a plugin? If yes, you'll be happy with this recipe that will show you how to do it. Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!WordPress hack: Show your top

  • WordPress tip: Quickly secure plugin files

    2154 readersMany plugins are made of only *.php files and most of the time they do allow direct access. Depending on what's in your files that might be a potential security hole. Today's tip will show you how to prevent direct access to plugin files.Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month

  • 6 Plugins for Branding the WordPress Admin

    203 readersWordPress is becoming an increasingly popular CMS to use with clients. However, many clients ask that the backend be branded with the company as well. To make it easier to upgrade your WordPress installation, there are some great plugins out there to let you change the look of the admin without having to touch any

  • WordPress Hack: Sidebar Login

    245 readersWordPress sidebar login form hack adds a login form in the sidebar and once you’re logged in, will display your user name and user controls. r0×0rz has modified the hack to work with the Blix theme.

  • Defualt admin screen

    Custom Login Plugin

    182 readersWell, I’ve done it again. Created a plugin, and finally decided to release it to the public! This one is for custom login design through your wp.login.php page. Check it out and download it through the WordPress repository. For a live preview, click here. January 2010 I’ve made quite a few improvements on this plugin. Most importantly you can control

  • 10 WordPress dashboard hacks

    1997 readersThe dashboard is a very important part of a WordPress blog. In fact, it allows you to control your posts, your blog design, and many more things. When building a site for a client, it is especially important to be able to control WP's dashboard. In this article, let's have a look at 10

  • Add a favicon to your WordPress blog using a hook

    1343 readersNowadays, any serious blog have its own favicon. To add yours into WordPress, you can directly edit header.php or you can use a more clean technique, using the power of WordPress hooks.Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try it for free!Add a favicon to your WordPress

  • WordPress tip: Allow contributors to upload files

    1572 readersIf you have contributors to your blog, you probably got annoyed to see that they can't upload files and images while writing guest posts for you. Today's recipe will solve the problem, allowing contributors to upload files to your blog.Looking for WordPress hosting? Try WP Web Host. Prices starts at $5/month and you can try