You are here: Computer Video TutorialWordpress TutorialAdd Or Change Favicon WordPress
Due to regular updates on WP, if you look for Twenty Eleven theme modification or customization tutorial, first of all, first check this post. Thanks.

Add Or Change Favicon WordPress

by Kimi on May 25, 2010

How to add a favicon wordpress without plugins or how to change favicon.ico in wordpress if you already have one built in your theme.

Have you ever wondered how to have a small icon or small image in your browser if you open a wordpress blog? That’s called favicon wordpress, it’s like a branding of your site.

Most websites nowadays have this favicon, either html static websites and even wordpress blogs.

In the video we will create a favicon wordpress with GIMP (free source image editing program), upload it and then adding php code to a static html code in our header.php.

If you just want to change your favicon, you don’t need to follow this step, just look where the old favicon, and replace it with the new one.

As usual, backing up a theme is a really nice idea.

favicon wordpress

This blog's favicon.

These are the steps to create favicon wordpress.

skip to the video if you’ve already one.

1. Create a new file in GIMP, size= 16×16 px (pixel)

2. Save the file as favicon.ico

3. Upload the file to /images folder or /img depends on where you have your images are stored in your theme file (wp-content/themes/yourthemes)

4. Add favicon html static code to header.php:

<link REL="SHORTCUT ICON" HREF="http://www.yoursite.com/images/favicon.ico"/>

And then replace this code with wordpress codex, here is the php code:

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

Video Tutorial:


blog seo

Note:

1.If you save favicon.ico, favicon wordpress in different folder, then replace “images” folder with your folder name.

2. If you just change your favicon, then don’t add anything in your header.php file. Just overwrite the old favicon.ico to the new one, it should work fine.

Favicon wordpress is not showing?

So, that’s it. If you are using firefox, the favicon may not appear immediately, clean up your cache and it will show up sooner or later. I notice other browsers display it faster, so you might want to check it in other browser too, in case you can’t wait

3. Want to have flexible theme which enable you upload favicon wordpress from your dashboard? check out Thesis features.

Subscribe new tips via Email:

Was the post helpful? Share it to help others with:

{ 10 comments… read them below or add one }

Harsh Agrawal May 30, 2010 at 6:59 pm

Dina this is useful..Usually what I do is upload the favicon at the root of Wordpress installation and that does everything.

Reply

Dina May 30, 2010 at 7:07 pm

Hey Harsh :)
I agree with you, that can be done that way, but it will only work if your theme file already have the code. I notice some themes came with already built-in favicon, however still many people don’t have favicon in their sites :D

Reply

Pham-Pham July 8, 2010 at 4:53 pm

Great tutorial, as always ! By the way, I found a free website that converts any image format to icon format : http://iconverticons.com/ So if you are working in Adobe Illustrator or Photoshop, you can save your document as 16×16 .PNG and then use the mentioned website to convert to .ICO.

Reply

Dina July 9, 2010 at 7:51 am

@Pham-Pham, Yes, there are lots of favicon generator out there, and they are mostly free.

Thanks for the quick link.

Reply

Louis Marshall November 12, 2010 at 11:25 am

Favicons are essential in a modern blog design because this could be the key fac tors in making your blog/sites standout from the crowd.This is much pretty good idea.

Reply

Kimi November 14, 2010 at 6:00 am

I agree with you, however we should compress favicon before we upload it.

When i measure my loading speed with Yslow, the most of the time it needs a while to detect my old favicon, that’s why i changed mine to have a smaller size.

Thanks for commenting Louis:)

Reply

Francisco August 2, 2011 at 6:48 pm

I used this video to help me out with the icon part, but it was long! It is good education though I am thankful for her to make this video because now I know about Notepad++ instead of just using regular notepad like I was doing. hehe

Reply

bhengstr August 16, 2011 at 7:20 pm

thanks for this!
i’m using a child theme, for twentyten, the video made all the difference!
my head ached as i read instructions but the video worked wonders!
KUDOS!
keep up the good work!

Reply

Zac Aldridge October 1, 2011 at 3:25 pm

Favicon works on all my pages and I i suggest you should get a favicon into your site too. I’m enjoying most of my time with my blogs because of favicon.Thanks!

Reply

2-Xite February 8, 2012 at 1:39 pm

Many compliments!
This one only worked for me, also thanks to the video.

Thanks and keep good work,
Greets,

2-Xite

Reply

Know better? Feedbacks, or Questions? Shoot! :-)

Please use a name instead of blog name or SEO stuff, otherwise it will be deleted right away.

About checkbox → See more my post:how to get rid of spam bots in wordpress post.

Thank you for visiting, you're always welcomed to be here again!

Previous post:

Next post: