Login Logo

* Login Logo URL
function ea_login_header_url( $url ) {
return esc_url( home_url() );
add_filter( 'login_headerurl', 'ea_login_header_url' );
add_filter( 'login_headertitle', '__return_empty_string' );
* Login Logo
function ea_login_logo() {
$dir = get_stylesheet_directory_uri() . '/assets/images';
<style type="text/css">
.login h1 a {
background-image: url(<?php echo $dir;?>/logo@2x.png);
background-image: url(<?php echo $dir;?>/logo.svg), none;
background-size: contain;
background-repeat: no-repeat;
display: block;
overflow: hidden;
text-indent: -9999em;
width: 312px;
height: 66px;
add_action( 'login_head', 'ea_login_logo' );
Bill Erickson

Bill Erickson is a freelance WordPress developer and a contributing developer to the Genesis framework. For the past 14 years he has worked with attorneys, publishers, corporations, and non-profits, building custom websites tailored to their needs and goals.

Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk