How to customize your wordpress login page?
Hello Friends, In this tutorial we will tell you how to customize your WordPress login page. This is the standard way of doing it because,
- We are not touching the WordPress core
- The modification is preserved even if we upgrade the word press core.
So lets start. Add the following codes to the functions.php of your theme file
Changing the WordPress logo in the login page
|
1 2 3 4 5 6 7 8 |
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
|
1 2 3 4 |
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
|
1 2 3 4 5 |
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.










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