{"id":908,"date":"2008-01-07T15:49:33","date_gmt":"2008-01-07T15:49:33","guid":{"rendered":"http:\/\/geoffjones.com\/2008\/01\/07\/adding-a-favicon-to-wordpress.\/"},"modified":"2008-01-07T15:49:33","modified_gmt":"2008-01-07T15:49:33","slug":"adding-a-favicon-to-wordpress","status":"publish","type":"post","link":"https:\/\/newsite.geoffjones.com\/?p=908","title":{"rendered":"Adding a favicon to wordpress."},"content":{"rendered":"<p>After looking at my<a href=\"http:\/\/en.wikipedia.org\/wiki\/HTTP_404\"> 404 <\/a>statistics and noticing the huge number of failed requests for a favicon.ico file I thought I should add one!<\/p>\n<p>I added the<a href=\"http:\/\/en.wikipedia.org\/wiki\/Favicon\"> favicon<\/a> (the little graphic before the URL in the bar at the top of the screen) to my site by:-<\/p>\n<ul>\n<li>Importing the desired picture into the <a href=\"http:\/\/www.favicon.cc\/\">favicon.cc<\/a> site, although you can design an icon on the site too.<\/li>\n<li>Upload the generated favicon.ico file to the WordPress themes\/nigarila folder.<\/li>\n<li>Then added this line to the file<em> header.php<\/em>: &lt;link rel=&#8221;shortcut icon&#8221; href=&#8221;&lt;?php bloginfo(&#8216;template_directory&#8217;); ?&gt;\/favicon.ico&#8221; \/&gt; just before the &lt;\/head&gt; tag.<\/li>\n<\/ul>\n<p>Hopefully, that will stay working! Many thanks to the <a href=\"http:\/\/codex.wordpress.org\/FAQ_Layout_and_Design\">WordPress help<\/a> site for the code.<\/p>\n<p>_______________-<\/p>\n<p><em>Kiara emailed me on 240918 and suggested this one.\u00a0<\/em><\/p>\n<p><em><a href=\"https:\/\/www.websiteplanet.com\/webtools\/favicon-generator\/\" target=\"_blank\" rel=\"noopener\" data-saferedirecturl=\"https:\/\/www.google.com\/url?q=https:\/\/www.websiteplanet.com\/webtools\/favicon-generator\/&amp;source=gmail&amp;ust=1537890418175000&amp;usg=AFQjCNHQpgBv7bSm_DVKvcc7_ephRxf__A\">https:\/\/www.websiteplanet.com\/<wbr \/>webtools\/favicon-generator\/<\/a><\/em><\/p>\n<p><em>this tool allows you to create favicons from pictures that are up to 5 MB from either JPG, PNG or GIF or even from a gallery. It also lets you generate favicons for different screen sizes and resolutions at the same time.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After looking at my 404 statistics and noticing the huge number of failed requests for a favicon.ico file I thought I should add one! I added the favicon (the little graphic before the URL in the bar at the top of the screen) to my site by:- Importing the desired picture into the favicon.cc site, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-908","post","type-post","status-publish","format-standard","hentry","category-products"],"_links":{"self":[{"href":"https:\/\/newsite.geoffjones.com\/index.php?rest_route=\/wp\/v2\/posts\/908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/newsite.geoffjones.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/newsite.geoffjones.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/newsite.geoffjones.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/newsite.geoffjones.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=908"}],"version-history":[{"count":0,"href":"https:\/\/newsite.geoffjones.com\/index.php?rest_route=\/wp\/v2\/posts\/908\/revisions"}],"wp:attachment":[{"href":"https:\/\/newsite.geoffjones.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/newsite.geoffjones.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/newsite.geoffjones.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}