You can change WordPress login page WordPress logo to website logo using Two methods.
Customize Login Image:
https://wordpress.org/plugins/customize-login-image/screenshots/
WP Custom Admin Login Page Logo:
https://wordpress.org/plugins/wp-custom-login-page-logo/screenshots/
First you need to open your theme’s "functions.php" file and then paste the following code:
<?php
function custom_loginlogo() {
echo '<style type="text/css">
h1 a {background-image: url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; }
</style>';
}
add_action('login_head', 'custom_loginlogo');
?>
put Your website logo behalf of "login_logo.png" logo image.
For more Interesting, Useful Article & codes visit IT New Code.
Method 1:-
Using Plugin:-Customize Login Image:
https://wordpress.org/plugins/customize-login-image/screenshots/
WP Custom Admin Login Page Logo:
https://wordpress.org/plugins/wp-custom-login-page-logo/screenshots/
Method 2:-
Using code:-First you need to open your theme’s "functions.php" file and then paste the following code:
<?php
function custom_loginlogo() {
echo '<style type="text/css">
h1 a {background-image: url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; }
</style>';
}
add_action('login_head', 'custom_loginlogo');
?>
put Your website logo behalf of "login_logo.png" logo image.
For more Interesting, Useful Article & codes visit IT New Code.
0 comments:
Post a Comment