wordpress customize login page

<?php
/**
* Custom admin login Logo
*/
function custom_login_logo() {
     echo '<style type="text/css">                                                                   
         h1 a { background-image:url('.get_stylesheet_directory_uri().'/images/login.png) !important; 
         height: 120px !important; width: 410px !important; margin-left: -40px;}                            
     </style>';
}

add_action('login_head', 'custom_login_logo');

--------------------------------------------
/**
* Custom admin login header link
*/
function custom_login_url() {
	return home_url( '/' );
}
add_filter( 'login_headerurl', 'custom_login_url' );

--------------------------------------------

/**
* Custom admin login header link alt text
*/
function custom_login_title() {
	return get_option( 'blogname' );
}
add_filter( 'login_headertitle', 'custom_login_title' );
?>
Author: bm on February 13, 2014
Category: wordpress

Your comment:

Your Name

Comment:




Last articles