Skip to main content

Ivan Teoh

Something personal yet public

Adding a Favicon

Today, I created a simple favicon for this site. I need to improve this site. While designing, I pick image of 16x16 size with true color and alpha channel (32-bit). This icon was designed with Inkscape and IcoFx applications. After designing the favicon, I need to add this favicon into this site. Make sure this favicon is rename to favicon.ico There are two folders that the favicon had to upload into. First folder will be the main directory of this site. The next one will be at the current WordPress theme folder. In order to support older web browser, the code below is added in header.php.

128-header.php (Source)

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

Comments

Comments powered by Disqus