When we go to the WordPress login page , we see the default WordPress logo there written "WordPress". We can customize it and can put any of the logo in place of that wordpress default logo.
It's easy: just open your functions.php file and paste the following code given below:
function my_custom_login_logo() {
echo '<style type="text/css">
h1 a { background-image:url('.get_bloginfo('template_directory').'/images/custom-login-logo.gif) // path of the logo in the directory
!important; }
</style>';
}
add_action('login_head', 'my_custom_login_logo');
By putting this code , the logo will be visible in the login page is the one we given path in the code.
0 Comment(s)