Breadcrumbs

Home Web Development Adding a favicon to a Wordpress site
Adding a favicon to a Wordpress site PDF Print E-mail
Written by Administrator   

Create your favicon from an online favicon generator or a desktop favicon generator

 

Using a FTP client upload your favicon.ico into the current themes main folder

 

Upload another copy of the favicon.ico to the main root directory of your site, e.g. http://example.com/favicon.ico

 

Login to admin panel and click on Appearance > Editor to edit the theme files

 

Select the file called Header or header.php to edit the file Or find the file header.php located in the current themes main folder using a FTP client and select to edit the file

 

Search for the line of code that begins with <link rel="shortcut icon" and ends with /favicon.ico" />. Overwrite it, if it exists, or add the following code below the <head> HTML tag.

 

<link rel="shortcut icon" href="/<?php bloginfo('stylesheet_directory'); ?>/favicon.ico" />