17
2012
Cambiar el logo de login de wordpress
Esta es una forma sencilla y practica si estan haciendo un nuevo template para wordpress y la su cliente o amigo no quiere que el logo de wordpress se muestre cuando hacen login en el panel de administracion. El codigo es muy simple y solo tienen que agregarlo en el archivo functions.php en su theme.
add_filter("login_headerurl","tiw_site_url");
/*function to return the current site url */
function tiw_site_url($url){
return get_bloginfo('siteurl');//Regresa la URL de su blog
}
add_filter("login_headertitle","tiw_login_header_title");
/*function to return the description of the current blog*/
function tiw_login_header_title($message){
return get_bloginfo('description'); /*Regresa la descripcion de su blog */
}
add_action("login_head", "my_login_head");
function my_login_head() {
echo "
<style>
body.login #login h1 a {
background: url('LINK A SU LOGO') no-repeat scroll center top transparent;
height: 63px;
width: 274px;
}
</style>
";
}

An article by











Pingback: Bitacoras.com