The “WP Favicon” plugin add a favicon to your site. Most of the themes just forgot to manage this small but nice feature. The plugin just add — inside the HEAD section — the needed links to the favicon. It supports, both the .ico and a .gif favicon.
Due to the famous web browser from Redmond. The best approach is to have 2 separates favicon files located at the site root directory. 1. The first favicon file (favicon.ico) is either a 16×16 or a 32×32 icon. Nowadays, all modern browser supports both size. 2. The second favicon file (favicon.gif) is a (reasonable) free size, and can be an animated GIF too! The .gif version have precedence over the .ico. So, if the browser support animated favicon, the animated will be displayed, else the static .ico will be used instead. Note that both favicon.ico and favicon.gif can be different pictures.
You can download the plugin here.
Bravo! implémentation très propre (et tu sais que je suis “chiant” :-)
Je regarde ca de suite et je t’en parle!
a++
seb
Works great, thank you
Thanks, it’s great but there is bug, when you enable the plugin on wp-admin page. with RTL translations of WP the direction changes back to LTR.
I have uploaded both .gif and .ico files in the format “favicon.gif and favicon.ico”, but favicon not showing up.
I don’t know anything about RTL / LTR. Is it the issue ?
I’ve installed the plugin, and uploaded a gif-file to my media-center in WP, but the favicon is not showing up on the WP Favicon site under settings. What’ve I’ve done wrong?
@Christiane
Please, tell me where is your page, so i can view the source and check.
Maybe you didn’t put the icons at the root location of your website?
Hi
Man plz tell us step by step
Thank you
Yes, it is. There is a small part of code from the standard “Hello dolly” plugin, that can help.
My problem is how can I test as i’m in LTR mode on my all blogs.
I don’t see a “How to validate dev on RTL evironment?” from WordPress.org.
I’m a bit stuck for now.
Hi there,
I have a Problem/Suggestion regarding your Plugin. When using your Plugin with a “normal” Site via http everything works like a charm.
But when accessing a site via https the favicon isn’t delivered via https. Instead it’s still delivered via http and therefor a warning is given that not all content on the website is delivered via https/SSL.
I hope you can update your Plugin to check if the Site is accessed via https and then “deliver” the favicon via https.
Thanks in advance!
Okay, this was easier than i initially thought… i solved my problem by editing the /common/head.php
In line 9 and 10 I removed the
part before the /favicon.icoSo this is what it looks like now:
Okay the WordPress code Tag in the Comments seems to be bugged.
So here my final solution again. This is what line 9 and 10 in common/head.php looks like:
@Gastro:
Thanks for investigating on HTTPS. Do you also use the qtranslate plugin?
Concerning the get_bloginfo() function; maybe this function is not usable as this under HTTPS?
@Jean-Michel Paris:
No, I dont use the qtranslate Plugin or any other translation Plugin. Maybe the get_bloginfo() function is the problem for SSL connections as you mentioned but I haven’t researched it so i really don’t know (http://codex.wordpress.org/Function_Reference/get_bloginfo)
@Gastro
I mentionned qtranslate in my previous comment, because the get_bloginfo is hooked by this one. So a sideeffect (bug ;)) is always possible with third plugin.
By deleting the get_bloginfo() call. Your URL is now “root based”. It works as icons files resides on the root directory. That’s indeed the case.
Vraiment super, fonctionne très bien sans toucher une ligne de code, merci !
My favicon has been added to the root folder. It shows up in bookmarks, but not on the browser tabs or toolbar… any suggestions why? Thanks!!
@Jennie:
1. The icons have to be installed on the wordpress root installation directory, not the theme root directory. In that way, you can change theme any time you want.
2. The file extension must be .ico and .gif
I don’t get it… The icons are in the root folder but it dosn’t show in tabs och browser window. I’ve read the previous comments but i don’t know what’s wrong — please help! :)
…suddenly it works. Hahaha, great :)
Ah.…good.
I was just replying to your first message. So, now everything run fine. You seems to be very fond of… dogs ;)
I have problems making it work in Internet Explorer 8.
I have installed both favicon.ico and favicon.gif in WordPress root folder. It works great in Firefox and Google Chrome, but not in Internet Explorer 8. I also have already cleared cache and refreshed lots of times.
Any ideas!
Congratulations on the nice plugin!
Thanks.
John-Michel,
I’ve read all this but my favicon is still not working. The images are in my root folder and this is the code I put into my header.php file:
Still not showing up. Can you tell me what I’ve messed up here? Thanks. I’m using Cutline as my theme if that might make a difference.