Tuesday, September 20, 2016

How to Change the Login Logo in WordPress

function custom_loginlogo() {
echo '<style type="text/css">
h1 a {background-image: url('.get_bloginfo('template_directory').'/assets/images/logo.png) !important; }
</style>';
}
add_action('login_head', 'custom_loginlogo');

No comments :

Post a Comment