2.4K
Ever wonder how to get rid of the wordpress logo on your login page and use your own? It’s easy, just paste this into your functions.php file
Some of the links on this page are affiliate links. I receive a commission (at no extra cost to you) if you make a purchase after clicking on one of these affiliate links. This helps support the free content for the community on this website. Please read our Affiliate Link Policy for more information.
[sourcecode language=”php”]
// custom admin login logo
function custom_login_logo() {
echo ‘<style type=”text/css”>
h1 a { background-image: url(‘.get_bloginfo(‘template_directory’).’/images/custom-login-logo.png) !important; }
</style>’;
}
add_action(‘login_head’, ‘custom_login_logo’);
[/sourcecode]
Upload an image for the logo to your theme’s images folder, and make sure the name matches in the code above.
1 comment
I think the admin of this web page is really working hard in support of his site, for the reason that here every information is quality based information.