Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Having trouble getting a favicon to work at

I have the file favicon.ico, 16x16px ftped to the root, www directory and I edited template.php in the theme to put

<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">

in the <head> section.

Those were just instructions I googled. The other instructions didn't work either. Is there some reason why not?

Place the .ico file in your theme directory, and use below code.
<link rel="icon" type="image/x-icon" href="<?php get_theme_url(); ?>/favicon.ico">
Addons: blue business theme, Online Visitors, Notepad

I have here still default GS icon (favicon.png) but I can't locate it Tongue I changed already in admin, and in admin side I have new one, but on front still GS. Any idea? I can force it ofc with <link.... but...

Well, sometimes your browser caches it.
Please try the following
go to the URL of the old favicon. if you see the old one, press CTRL+F5 to refresh cache.
Then go back to your website. do a CTRL+F5 there.
That should work!

Users browsing this thread: 1 Guest(s)