Forum Replies Created
-
AuthorPosts
-
Here’s the code that I normally use to customize the login logo and it works pretty well.
/******* Customize Login Logo ******/
function my_custom_login_logo() {
echo '
h1 a { background-image:url('.get_bloginfo( 'stylesheet_directory' ).'/images/login-logo.png) !important; }
';
}add_action( 'login_head', 'my_custom_login_logo' );
function my_custom_login_url() {
return site_url();
}
add_filter( 'login_headerurl', 'my_custom_login_url', 10, 4 );
Digital marketing consultant. Entrepreneur. Small business crusader. Husband & Father. Roman Catholic. Athlete. Homebrewer. Backyard Vintner. Italophile.
Website | Twitter | Facebook -
AuthorPosts