Add or modify styles and upload path as necessary to accommodate logo.
function custom_login_logo() { echo '<style type="text/css"> .login h1 a { background-image:url(/wp-content/uploads/2020/09/site<span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span>-logo.png) !important; width:300px!important; background-size:300px!important; height:80px!important; margin: 0 auto 10px!important; } .login h1 { line-height:1!important; margin:0!important; height:80px!important; } </style>'; } add_action('login_head', 'custom_login_logo'); add_filter( 'login_headerurl', 'custom_loginlogo_url' ); function custom_loginlogo_url($url) { return 'https://sitename.com'; }