Find the famous functions.php file of the current theme and insert next code in it.
function childtheme_favicon() { ?>
<link rel="shortcut icon" href="<?php echo bloginfo('stylesheet_directory') ?>/images/favicon.png" >
<?php }
add_action('wp_head', 'childtheme_favicon');
You are done. Sweet and simple. Don’t forget to change the favicon url.
If the wp_head() function is not implemented the code will not work.
Have fun!

Wordpress! Have fun!
Leave a trackback from your own site.
Leave a Reply
You must be logged in to post a comment.