How To Add A Favicon To WordPress

Favicon is the icon of the website which appears in the address bar or tab of your browser accessing the site or next to the site name in your bookmarks list. Favicon also increases your website recognition and helps you build trust among your viewers and soon they’ll instantly recognize you with this tiny .ico image.

Just like every other website, you should have a favicon image for your website. And fortunately, adding a favicon image to your WordPress site is way too much easy, even for newbies. First you need a favicon for your brand.

How To Create A Favicon

A favicon is a simple square image. It should be 32×32 pixels or 16×16 pixels in .PNG, .GIF or .ICO format. You can easily create a favicon for your website on Photoshop or another image editor that you have. You can also browse a favicon for your website from favicon.ccor favicon.co.uk. Don’t forget to upload your favicon to your website.

Adding Favicon To Your WordPress

Adding favicon to your WordPress site is very easy, and you can do this in two easy ways.

First Way:

Add following code into your theme’s header.php file:

Replace Your-Favicon.ico with the URL of your favicon image. If your theme doesn’t have a header file, or if you can’t find it, then you can also add favicon to your WordPress with your theme’s functions.php file.

Second Way:

Add following code into your theme’s functions.php file:

That’s It! Still having troubles? Comment below and we will try to help you.