/*******************************
=LOGIN PAGE
********************************/
// On login page, use Transom h1 link background (replacing WordPress logo):
function tr_login_logo() { ?>
<style type="text/css">
body.login div#login h1 a {
background-image: url(<?php echo get_bloginfo( 'template_directory' ) ?>/images/img-logo-transparent-320.png);
padding-bottom: 20px;
}
</style>
<?php }
add_action( 'login_enqueue_scripts', 'tr_login_logo' );
// Transom URL for h1 link href:
function tr_login_logo_url() {
return 'http://transom.org/';
}
add_filter( 'login_headerurl', 'tr_login_logo_url' );
// Value for h1 link title:
function tr_login_logo_title() {
return 'Transom: Home';
}
add_filter( 'login_headertitle', 'tr_login_logo_title' );