How to add Favicon to your WordPress site

Today i m going to show how to add Favicon to your WordPress site, well nowadays each blog its own favicon as a part of branding its website, well adding a favicon is not that difficult, but still some people find it, so today we will make it easy for adding favicon in WordPress blog.

Now lets start adding it, i Assume that you have already made your own favicon if you haven’t you can refer to Favicon Generator. add this code in your functions.php :

function wpden_favicon() { ?>
	<link rel="shortcut icon" href="link_to_favicon" >
<?php }
add_action('wp_head', 'wpden_favicon');

replace the link_to_favicon with your image link you want to use for favicon.

congratulation on how to add favicon to your WordPress site.

Subscribe to WPDEN