Sunday, October 23, 2016

How to Change a Wordpress Logo in Login Page

How to Change a Wordpress Logo in Login Page


 




How to Change a Wordpress Logo in Login Page - I want to share a trick for wordpress. this trick is How to Change a Wordpress Logo in Login Page which can make your wordpress become more interesting.

You can to Change Wordpress logo, you can to put your photo or other picture in wordpress login page.. You want to try this??

This is the secret, First open the functions.php file, and copy this code:

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’);



dont forget to copy logo file to image folder at your theme, and adjust the logo file name.. for example the name login_logo.png.

Ok, I hope you become more cool with the new logo..

Go to link Download

No comments:

Post a Comment