How to customize your wordpress login page?
Hello Friends, In this tutorial we will tell you how to customise your wordpress login page. This is the standard way of doing it becuase,
- We are not touching the wordpress core
- THe modification is preserved even if we upgrade the wordpress core.
So lets start. Add the following codes to the functions.php of your theme file
Changing the WordPress logo in the login page
add_action(“login_head”, “my_custom_logo”);
function my_custom_logo() {
echo ”
<style>
body.login #login h1 a {
background: url(‘”.get_bloginfo(‘template_url’).”/_graphics/logo3.png’) no-repeat scroll center top transparent;
}
</style>
“;
}
Changing the link in the WordPress logo in the login page
add_filter(‘login_headerurl’, ‘my_custom_url’);
function my_custom_url(){
return “http://webgalli.com/”;
}
Changing the title of the WordPress logo in the login page
add_filter(‘login_headertitle’, ‘my_custom_title’);
function my_custom_url(){
return “My sites title”;
}
So thats all for now. Hope it will be useful for you.
1 Comment
Leave A Reply
You must be logged in to post a comment.









[...] can find three more extra hacks in our previous blog. Last Post add wordpress widgets remove wordpress widgets wordpress dashboard wordpress [...]