Custom wordpress login and a free psd!

With WordPress becoming more and more popular as the chosen cms platform amongst developers, its seems obvious to white label and make the whole login process more bespoke.

For the benefit of developers and WordPress users here is a bundle that you can use to customise for that same purpose.

Most of these functions can easily be found on the interweb but, to add value to the whole white label custom login thing I thought I’d offer this free psd to go with it.

With this download you’ll get all the functions you need to customised the look of the core WordPress login admin page as well as a layered .psd file that you can customise for your own benefit.

 

[button]Download the bundle[/button]

 

If you just want the code without the .psd just pilfer it from below.

// Just put these snippets in your functions.php, and then add your login image to your theme images folder.

// This filter will link the logo to your prefered destination it can be the homepage of the site or another destination, you decide!
add_filter( ‘login_headerurl’, ‘my_custom_login_url’ );
function my_custom_login_url($url) {
return ‘http://www.change-this-to-your-domain.co.uk’;
}

// This action allows you to change the logo you see when you login to WordPress(http://website.com/wp-admin).
add_action(‘login_head’, ‘custom_login_logo’);
function custom_login_logo() {
echo ‘<style type=”text/css”>
h1 a { background-image:url(‘.get_bloginfo(‘template_directory’).’/images/login-logo.png) !important; }
</style>’;
}

// This filter allows you to change the alt text for login image
add_filter(‘login_headertitle’, ‘change_wp_s1q3u4a6re_login_title’);
function change_wp_s1q3u4a6re_login_title()
{
echo ‘Square One Web and Design’;
}

2 thoughts on “Custom wordpress login and a free psd!

Comments are closed.