Return to Snippet

Revision: 39408
at August 19, 2011 23:20 by silentpro


Updated Code
/* CUSTOM LOGIN PANEL LOGO */
/*
// Step 1: Upload the logo you want into the theme images folder
// Step 2: Add the following code to your theme functions.php file
*/

add_action("login_head", "my_login_head");
function my_login_head() {
     echo "
     <style>
     body.login #login h1 a {
          background: url('".get_bloginfo('template_url')."/img/logo.jpg') no-repeat scroll center top transparent;
          height: 59px;
          width: 220px;
     }
     </style>
     ";
}

Revision: 39407
at January 17, 2011 19:45 by silentpro


Initial Code
/* CUSTOM LOGIN PANEL LOGO */
/*
// Step 1: Upload the logo you want into the theme images folder
// Step 2: Add the following code to your theme functions.php file
*/

add_action("login_head", "my_login_head");
function my_login_head() {
     echo "
     <style>
     body.login #login h1 a {
          background: url('".get_bloginfo('template_url')."/img/logo.jpg') no-repeat scroll center top transparent;
          height: 59px;
          width: 220px;
     }
     </style>
     ";
}

Initial URL

                                

Initial Description
WP Functions

Step 1: Upload the logo you want into the theme images folder
Step 2: Add the following code to your theme functions.php file

Initial Title
Wordpress Login Logo

Initial Tags
login, php, textmate, wordpress

Initial Language
PHP