Customize Wordpress wp-login page
<?php
//Change WordPress Logo Code
function custom_login_logo() {
echo '<style type="text/css">
h1 a { background-image:url(' . get_bloginfo('template_directory') . '/images/logo.png) !important; }
</style>';
}
add_action('login_head', 'custom_login_logo');
//--------------------------------------------------------
//--------------------------------------------------------
//Change Logo Link
function my_login_logo_url() {
return get_bloginfo( 'url' );
}
add_filter( 'login_headerurl', 'my_login_logo_url' );
function my_login_logo_url_title() {
return 'Your Site Name and Info';
}
add_filter( 'login_headertitle', 'my_login_logo_url_title' );