Are you making a site for your client and frustrated with the login page logo linking to the WordPress site? Well you are not the only one. But there is a very easy way to change this behavior without any plugin. All you have to do is add the following line to your functions.php file within your theme folder.
This will link the logo to your own wordpress blog.
If you don't know how to change the default WordPress logo with one of your logo, then follow this post that wonderfully illustrates the same.
More On The Topic:
The official wordpress documentation on this can be found here.
If you have any queries please use the comment form below.
add_filter("login_headerurl","the_url");
function the_url($url)
{
return get_bloginfo('siteurl');//return the current wp blog url
}
This will link the logo to your own wordpress blog.
If you don't know how to change the default WordPress logo with one of your logo, then follow this post that wonderfully illustrates the same.
More On The Topic:
The official wordpress documentation on this can be found here.
If you have any queries please use the comment form below.
Comments
Post a Comment