Add a Favicon To Your Theme
Add a Favicon (Theme)
Adding a favicon to your WordPress site really does not warrant a plugin. Instead, just use this extremely simple code snippet:
add_action( 'wp_head', 'ilc_favicon');
echo " " . "\n";
Once you have installed and activated the code snippet in the Code Snippets plugin, all you need to do is upload your favicon.ico file to the root directory of your active theme.