How to add a Favicon to Your WordPress Theme

Don’t forget to add your Favicon to your website. You can do this simply by dropping the following function into your theme’s function.php file. Then, upload your favicon into your theme’s images folder. Need to generate a favicon?

function blog_favicon() {
echo '';
}
add_action('wp_head', 'blog_favicon');