How to Customize WordPress’s Admin Login Logo
Posted by admin
30 July 2010
By default the WordPress’s admin login looks like the following:
If you want to change the logo to customize it then add the following piece of code to the “functions.php” file of your WordPress theme:
add_action('login_head', 'wp_custom_login_logo');
function wp_custom_login_logo()
{
echo '<style type="text/css">';
echo 'h1 a { background-image:url('.get_bloginfo('template_directory').'/images/my-logo.gif) !important; }';
echo '</style>';
}
Make sure to upload your custom logo (my-logo.gif) to the “images” directory of your wordpress theme.
Related posts:
Tags: Wordpress, WordPress Hacks, WordPress Theme










Leave your response!