At login page into WordPress admin, we may see same default wordpress logo. This may be boring for some people. Using different logo can give added value and expressing the identity of certain website, while it may means nothing at all. Anyway, in order to customize wordpress login page logo into your own logo can be achieve in two ways.
Using functions.php modification
- Simply find and add this code below into your theme’s functions.php file.
[sourcecode language=’php’]
//Custom Login Logo
function my_custom_login_logo() {
echo ‘
‘;
}
add_action(‘login_head’, ‘my_custom_login_logo’);
[/sourcecode]
- Create your own logo not exceed than 250pixels x 68pixels and upload into your theme’s images directory.
- By default, the logo url link is linked to http://wordpress.org/. To change the url to your homepage, just add this another piece of code under the code above.
[sourcecode language=’php’]
//Custom Login Url
function change_wp_login_url() {
echo bloginfo(‘url’);
}
function change_wp_login_title() {
echo get_option(‘blogname’);
}
add_filter(‘login_headerurl’, ‘change_wp_login_url’);
add_filter(‘login_headertitle’, ‘change_wp_login_title’);
[/sourcecode]
Using WordPress Plugins
- You may use wordpress plugins such as Theme My Login plugin. Follow the link and see how to use it.
The code originally found on WPRecipes and written by Rami. Great guys!
I want to quote your post in my blog. It can?
And you et an account on Twitter?
I want to quote your post in my blog. It can?
And you et an account on Twitter?
No problem. Quote it in any of your post. Just don’t hotlinking any of my media like, images. Enjoy the posts!
No problem. Quote it in any of your post. Just don’t hotlinking any of my media like, images. Enjoy the posts!
I am the first time on this site and am really enthusiastic about and so many good articles. I think it’s just very good.
I am the first time on this site and am really enthusiastic about and so many good articles. I think it’s just very good.