Home › Forums › CSS › WP Custom Login Page CSS › Re: WP Custom Login Page CSS
May 26, 2011 at 12:07 pm
#75248
jacorre
Participant
You can add the following to the functions.php file for your theme:
/* This sets a user-defined logo for the login page. */
function custom_login_logo() {
echo '';
}
add_action('login_head', 'custom_login_logo');
/* This sets the url for the login logo. */
add_action( 'login_headerurl', 'my_custom_login_url' );
function my_custom_login_url() {
return 'http://www.yourdomain.com';
}