Favicon

I would like to add a favicon for my site, and I am not sure which file to put the code in.

If you're doing it the old-fashioned way, all you need to do is put your favicon.ico file in the root of your site, no code required.

If you're doing it the way that requires a link tag, you should put that in your theme's header.php file. Make sure to refer to your image either by:

  • putting it in your theme's "images" directory and using Omeka's img() function
  • using a root-relative URL (one which starts with a slash)

Using either of those techniques to get the URL will make sure it's interpreted the same on every page.

Works by putting it in the theme's header.php file.
Just putting it in the root of the site did not work.
Thanks.