This option will reset the home page of this site. Restoring any closed widgets or categories.

Reset

Customize WordPress login logo without a plugin

VN:F [1.8.3_1051]
Rating: 3.0/10 (1 vote cast)

WordPress login logo looks nice, but sometimes you may want to change it, for example when building a site for a client. In that case, you can use a plugin, or simply take advantage of this cool hack.

Nothing hard with this recipe. The only thing you have to do is to copy the following piece of code, and paste it on your functions.php file:

Post Pic
function my_custom_login_logo() {
    echo '<style type="text/css">
        h1 a { background-image:url('.get_bloginfo('template_directory').'/images/custom-login-logo.gif) !important; }
    </style>';
}

add_action('login_head', 'my_custom_login_logo');
VN:F [1.8.3_1051]
Rating: 0 (from 0 votes)
Customize WordPress login logo without a plugin3.0101
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Add to favorites
  • BarraPunto
  • Bitacoras.com
  • BlinkList
  • blogmarks
  • blogtercimlap
  • connotea
  • Current
  • Design Float
  • Diggita
  • Diigo
  • DotNetKicks
  • DZone
  • eKudos
  • Fark
  • Blogosphere News
  • email
  • Faves
  • Fleck
  • FriendFeed
  • FSDaily
  • Global Grind

Leave a Reply

You must be logged in to post a comment.