This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** change admin login logo **/ | |
function custom_loginlogo() { | |
echo '<style type="text/css"> | |
body.login div#login h1 a {background-image: url('.get_bloginfo('home').'/wp-content/themes/the-theme/images/admin-logo.png) !important; } | |
</style>'; | |
} | |
add_action('login_head', 'custom_loginlogo'); | |
/* -- changes the url of login logo -- */ | |
function my_login_logo_url() { | |
return get_bloginfo( 'url' ); |