Created
January 20, 2020 08:35
-
-
Save agrogeek/3b68b83169f1fe99c370a0b3599165ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body.login {} | |
body.login div#login {} | |
body.login div#login h1 {} | |
body.login div#login h1 a {} | |
body.login div#login form#loginform {} | |
body.login div#login form#loginform p {} | |
body.login div#login form#loginform p label {} | |
body.login div#login form#loginform input {} | |
body.login div#login form#loginform input#user_login {} | |
body.login div#login form#loginform input#user_pass {} | |
body.login div#login form#loginform p.forgetmenot {} | |
body.login div#login form#loginform p.forgetmenot input#rememberme {} | |
body.login div#login form#loginform p.submit {} | |
body.login div#login form#loginform p.submit input#wp-submit {} | |
body.login div#login p#nav {} | |
body.login div#login p#nav a {} | |
body.login div#login p#backtoblog {} | |
body.login div#login p#backtoblog a {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Insert in funtcions.php for child themes */ | |
/* Customize login */ | |
function my_login_stylesheet() { | |
wp_enqueue_style( 'custom-login', get_stylesheet_directory_uri() . '/css/style-login.css' ); | |
} | |
add_action( 'login_enqueue_scripts', 'my_login_stylesheet' ); | |
function my_login_logo_url($url) { | |
return home_url(); | |
} | |
add_filter( 'login_headerurl', 'my_login_logo_url' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment