Bootstrap Templates Bundle

Friday, January 18, 2013

Custom Logo to Wordpress Login Page

Technic1:
Add this code to your functions.php file . Preferable to add just before the last line (
before ? line




function my_custom_login_logo() {
    echo '<style type="text/css">
        h1 a { background-image:url(http://bestcareerbd.com/wp-content/uploads/2012/09/Untitled-4.png) !important; }
    </style>';
}

add_action('login_head', 'my_custom_login_logo');


N.B Colored Url will be changed by your url

Technic 2: 
You can simply change the Logo  image from wp-admin\images 
This is more simple way without  changing any code.

Technic 3:
You can also use plugin for this purpose. You can download Login Logo plugin from here

Advance Technic: If you want to change the title of your custom Logo the you need to change the code present in wp-login.php

Find out the code below:


} else {
$login_header_url   = __( 'http://wordpress.org/' );
$login_header_title = __( 'Powered by WordPress' );
}


Change this code by your code, sample below:


} else {
$login_header_url   = __( 'http:/bestcareerbd.com/' );
$login_header_title = __( 'Powered by Bestcareerbd' );
}



No comments:

Post a Comment

Best Pest Control WordPress Themes 2017

A collection of best pest control WordPress Themes for pest control service providers.  Link:   https://devitems.com/review/best-pest-co...