Change the WordPress login logo using wordpress hack

Copy paste following lines to your wordpress theme folder’s functions.php file. function change_login_logo() { echo ‘<style type=”text/css”> h1 a { background-image:url(‘.get_bloginfo(‘template_directory’).’/images/logo.png); } </style>’; } add_action(‘login_head’, ‘change_login_logo’); have fun! Incoming search terms:hack wordpress loginlogin css

Add a favicon to your WordPress theme using wordpress hack

Just copy paste the following following lines to your function.php file. function add_favicon() { ?> <link rel=”shortcut icon” href=”<?php echo bloginfo(‘stylesheet_directory’) ?>/images/favicon.ico” > <?php } add_action(‘wp_head’, ‘add_favicon’); if wp_head() function added in your header.php file, If that function not added … Continue reading