How To Change Login Logo Of WordPress

By

August 5, 2012WordpressNo comments

0 Flares Twitter 0 Facebook 0 Google+ 0 Pin It Share 0 LinkedIn 0 0 Flares ×

How To Change Login Logo Of WordPress

Have you ever thought of keeping your logo while logging in to your wordpress blog?
In this tutorial i will show you how to Change Login Logo Of WordPress.

1. Go to Theme Editor in your wordpress blog.
2. In theme editor , open functions.php. In functions.php add the following code below and make sure to upload logo in images folder of your wordpress theme.

 
<?php
function custom_login_logo() {
echo '<style type="text/css">
h1 a { background-image:url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; }
</style>';
}
add_action('login_head', 'custom_login_logo');
?>

3. That’s it!!! You have changed the WordPress Login Logo.

Get Free Updates in your Inbox
Follow us on:
facebook twitter gplus pinterest rss

Leave a Reply

0 Flares Twitter 0 Facebook 0 Google+ 0 Pin It Share 0 LinkedIn 0 0 Flares ×