Last active
August 29, 2015 14:16
-
-
Save mdemrs/1db21dea0afe7aa0d309 to your computer and use it in GitHub Desktop.
wp: Styliser ecran de connexion
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
//Custom css login | |
function wpc_custom_login(){ | |
wp_enqueue_style('wpc-custom-login-css', plugins_url('css/wpc-login.css', __FILE__)); | |
} | |
add_action('login_head', 'wpc_custom_login'); | |
//Custom Logo URL | |
function c(){ | |
return esc_url(home_url('/')); | |
} | |
add_filter('login_headerurl', 'wpc_custom_login'); | |
//Custom Logo Title | |
function wpc_login_logo_url_title(){ | |
return "Une création mdemrs.com"; | |
} | |
add_filter('login_headertitle', 'wpc_login_logo_url_title'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment