Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

How to add a favicon (5 posts)

Started 11 months, 2 weeks ago by: tober11

  • Profile picture of tober11 tober11 said 11 months, 2 weeks ago:

    I did I quick google search…seeing a few references to favicon plugins.

    Is there a way to add a favicon with code?

  • Profile picture of Michael Kuhlmann Michael Kuhlmann said 11 months, 2 weeks ago:

    I created mine by using this service http://www.favicon.cc/ and uploading the .ico file to the root of my site and another copy within my theme folder. Seems to work =)

  • Profile picture of Hugo Hugo said 11 months, 2 weeks ago:

    Why would you need a plugin? It’s a simple one line piece of code that is added to the head of the document, and google will throw up a hundred guides on how to add one, if you haven’t the graphics tools to create the correct file format then the link suggested above is the answer.

  • Profile picture of DoctorDR DoctorDR said 11 months, 2 weeks ago:

    It’s really the simplest of tasks. You will need to use one of the many favicon generators as suggested by @suchaqd, then add a single line of code in header.php. I’ve added mine directly after the stylesheet declaration, i.e…

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
            <link href="http://cdn1.cloudfiles.rackspacecloud.com/favicon.ico&quot; type="image/ico" rel="icon">

    Just make sure you call it ‘favicon.ico’

  • Profile picture of tober11 tober11 said 11 months, 2 weeks ago:

    Thank you all!