Sunday 9 October 2016

How to change WordPress login page WordPress Logo?

You can change WordPress login page WordPress logo to website logo using Two methods.

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.

Ankit Shah PHP Expert

IT New Code suggest a solution for your problem related to coding, Specially .PHP, Wordpress, WooCommerce, Magento, HTML and CSS. Visit Our website for Information.

0 comments:

Post a Comment

 

Copyright @ 2016 IT New Code | Developing Code | Designing Code.

Designed by: Ankit Shah