Custom login, footer, remove notification
Working fine with Flatsome Theme
Custom login page
/**************************
* Custom login admin WP
***************************/
add_action( 'login_enqueue_scripts', 'xsolutions_login_logo' );
function xsolutions_login_logo() {
?>
<style type="text/css">
#login h1 a, .login h1 a {background-image: url(/wp-content/uploads/2020/11/Logo_VNU-HCM-e1632109120322.png);width: 250px;background-size: contain;background-repeat: no-repeat;background-color: transparent;}
#login form#loginform{border-radius: 10px;box-shadow: 0 0 50px rgb(255 255 255 / 24%);background: #ffffff1a;border: 1px solid #d4d4d4;color: #000;}
#login input#wp-submit{background-color:#1F2A37;border:none;}
#login #backtoblog a, #login #nav a {color: #000;}
#login form .input, #login form input[type=checkbox], #login input[type=text],#login form input[type=password]{background: #fff0;border: 1px solid #d4d4d4;color: #000;}
body.login{background: url(/wp-content/uploads/2021/09/bg-login.jpg) center bottom;color:#000;}
#login .button.wp-hide-pw .dashicons {color: #1F2A37;}
</style>
<?php
}
add_filter( 'login_headerurl', 'xsolutions_login_logo_link' );
function xsolutions_login_logo_link( $url ) {return home_url( '/' );}
Custom footer dashboard

Remove copyright, notification dashboard
Remove & Edit WP logo dashboard

Last updated