Return to Snippet

Revision: 47336
at June 6, 2011 00:46 by alp


Initial Code
/**
 * Customize Admin Login Logo
 * http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/
 *
 **/
function myfunction_custom_login_logo() {
	echo '<style type="text/css">
	h1 a { background-image: url('.get_bloginfo('template_directory').'/images/custom-login-logo.png) !important; }
	</style>';
}
add_action('login_head', 'myfunction_custom_login_logo');

Initial URL
http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/

Initial Description

                                

Initial Title
Wordpress: Customize Admin Login Logo

Initial Tags
wordpress

Initial Language
PHP