Need to replace WordPress logo with your own logo from wp-admin login page?
Don’t worry! It is so simple.
Add following code in your theme’s functions.php:
/* Change logo from login page */ function custom_loginlogo() { echo ' <style type="text/css"> h1 a { background-image: url('.get_bloginfo('template_directory').'/images/admin-logo.png) !important; width: 100% !important; background-size: 100% auto !important;} </style> ';} add_action('login_head', 'custom_loginlogo'); /* Change link of logo from login page */ function loginpage_custom_link() { return 'Your website URL'; } add_filter('login_headerurl','loginpage_custom_link'); /* Change tooltip of logo from login page */ function change_title_on_logo() { return 'Your Tooltip'; } add_filter('login_headertitle', 'change_title_on_logo');
Put admin-logo.png in your theme-folder/images/.
Thats all !