After building my theme with the Thematic framework I did a search on how to add your favicon.ico to the site. Also you’re going it to add to the login and admin pages.
First we must create the favicon. For this we need a plugin for Photoshop cs5. Which can be downloaded here. create your favicon and resize is to 16 x 16px, save it as ico. Send the icon to your server and store it in the childtheme folder.
Now we are going to edit the functions.php in your childtheme folder in your favorite texteditor. If it’s not there please copy the functions.php from the main theme.
add this to the end of the file before the ?>
..function childtheme_favicon() { ?>
<link rel="shortcut icon" href="<?php echo bloginfo('stylesheet_directory') ?>/favicon.ico">
<?php }
// favicon front-end
add_action('wp_head', 'childtheme_favicon');
// favicon back-end
add_action('admin_head', 'childtheme_favicon');
// favicon login-page
add_action('login_head', 'childtheme_favicon');
.
Now save the file and press refresh in your browser and there it it.
That was easy!