Skip to content

Instantly share code, notes, and snippets.

@javiergbas
Last active February 1, 2016 15:25
Show Gist options
  • Save javiergbas/6bec1dc560ffd44c3e72 to your computer and use it in GitHub Desktop.
Save javiergbas/6bec1dc560ffd44c3e72 to your computer and use it in GitHub Desktop.
function my_login_stylesheet() {
wp_enqueue_style( 'custom-login', get_sylesheet_directory_uri().'/login.css' );
}
add_action( 'login_enqueue_scripts', 'my_login_stylesheet' );
function my_login_logo_url() {
return home_url();
}
add_filter( 'login_headerurl', 'my_login_logo_url' );
function my_login_logo_url_title() {
return '[Your title]';
}
add_filter( 'login_headertitle', 'my_login_logo_url_title' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment