{"id":162808,"date":"2017-04-29T13:00:25","date_gmt":"2017-04-29T13:00:25","guid":{"rendered":"https:\/\/premium.wpmudev.org\/blog\/?p=162808"},"modified":"2019-04-25T20:53:23","modified_gmt":"2019-04-25T20:53:23","slug":"adding-favicons-wordpress","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/adding-favicons-wordpress\/","title":{"rendered":"A Quick Guide to Adding a Favicon to Your WordPress Site"},"content":{"rendered":"<p>Brand recognition is critical for a company\u2019s website. That\u2019s why you invest so much time coming up with a simple yet bold color palette, consistent imagery, and well-defined brand messaging. The more consistent you are in defining and establishing that identity across your site, the more ingrained it\u2019ll become in your visitors\u2019 minds.<\/p>\n<p>But you know that it\u2019s not just what appears on your site that visitors, prospects, and customers remember you for.<\/p>\n<p>Social media pages need to align with your brand identity; video branding does, too. It\u2019s not just these larger offshoots of your brand that matter either. Take your favicon, for instance. It\u2019s such a small detail\u2014one that doesn\u2019t even occur <em>on<\/em> a web page\u2014and yet there\u2019s a good likelihood your visitors will notice if you don\u2019t have one or if the one you\u2019ve chosen doesn\u2019t look great.<\/p>\n<p>It\u2019s this attention to detail when developing a consistent brand identity that will really drive home the idea that the company or individual behind this website has got it together. In other words, not only did you take time to create a small icon to maintain your brand\u2019s presence outside of the website, but you also considered how it affects UX, too.<\/p>\n<p>If you\u2019ve yet to create or add a favicon to your WordPress website, you\u2019ve got to get on that, like, now. Or, better yet, yesterday.<\/p>\n<h2>Why Your WordPress Website Needs a Favicon<\/h2>\n<p>These are what favicons look like in the address bar and in browser tabs:<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/04\/Favicon-tabs.png\" alt=\"Favicons are quickly recognizable in browser tabs.\" width=\"600\" height=\"70\" \/><figcaption class=\"wp-caption-text\">Favicons are quickly recognizable in browser tabs.<\/figcaption><\/figure>\n<\/div>\n<p>These are also favicons, this time in your bookmarks:<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/04\/bookmark-favicons.png\" alt=\"Favicons also help distinguish between bookmarks\\.\" width=\"600\" height=\"225\" \/><figcaption class=\"wp-caption-text\">Favicons also help distinguish between bookmarks.<\/figcaption><\/figure>\n<\/div>\n<p>Here\u2019s another example of favicons you can find in a web browser\u2019s history:<\/p>\n<div  class=\"wpdui-pic-regular  \">\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/04\/history-favicons.png\" alt=\"Favicons displayed in your browser history.\" width=\"600\" height=\"205\" \/><figcaption class=\"wp-caption-text\">Favicons displayed in your browser history.<\/figcaption><\/figure>\n<\/div>\n<p>Did you even realize your site\u2019s favicon got so much airtime?<\/p>\n<p>Like I said, this is about establishing a clear presence of your brand on-site as well as off. Sure, a favicon is pretty small so it might not always get noticed, but no matter how far users deviate from your site, don\u2019t you want them to still have a piece of your brand they can instantly recognize?<\/p>\n<p>In addition to bolstering your brand identity, favicons also help guide visitors back to you. If you create an eye-catching and unique favicon that helps users easily pick it out of a crowd of other favicons, they\u2019ll remember that.<\/p>\n<h2>How to Create a Favicon for Your WordPress Site<\/h2>\n<p>Follow these three steps to create a high-quality favicon and ensure that it displays correctly on all browsers.<\/p>\n<h3>Step #1: Design the Favicon<\/h3>\n<p>By this point, you should already have a\u00a0<a href=\"https:\/\/wpmudev.com\/blog\/designing-logos-tips-resources\" target=\"_blank\" rel=\"noopener\">logo<\/a> for your website. Start there.<\/p>\n<p>You then have a few different options for designing a favicon:<\/p>\n<ul>\n<li>You can use whichever design program you\u2019re the most comfortable with (ideally, the one used to design your logo). Photoshop is one of the more popular options, but you can also use a free tool like Canva. Then extract a piece of the logo that\u2019s unique as well as memorable.<\/li>\n<li>You can also create something completely new if you don\u2019t have a logo to work from. This <a href=\"http:\/\/www.favicon.cc\/\" rel=\"noopener\" target=\"_blank\">Favicon tool<\/a> is a good one to try.<\/li>\n<li>Lastly, you can always download a free icon from the web until you have an official logo created for your site.<\/li>\n<\/ul>\n<p>When creating a favicon, be sure to follow <a href=\"https:\/\/www.w3.org\/2005\/10\/howto-favicon\" rel=\"noopener\" target=\"_blank\">W3C\u2019s guidelines<\/a> for sizing it. Basically, they recommend you design a favicon as a square, either 16&#215;16 or 32&#215;32 pixels. For colors, they recommend 8- or 24-bit.<\/p>\n<p>Once a favicon is designed and ready to go live, you\u2019ll need to export the file either as an ICO, PNG, or GIF. These are the three most <a href=\"https:\/\/en.wikipedia.org\/wiki\/Favicon\" rel=\"noopener\" target=\"_blank\">universally accepted favicon formats<\/a>. That being said, ICO is the most versatile of them all as it stores various sizes and versions within the single file, so that each browser can determine which of those sizes is optimal for their purposes. If you\u2019re unsure of how to export to ICO, use this <a href=\"http:\/\/www.favicon-generator.org\/\" rel=\"noopener\" target=\"_blank\">Favicon Generator<\/a>.<\/p>\n<h3>Step #2: Add the Favicon to Your Site<\/h3>\n<p>There are three methods for adding a favicon to a WordPress website.<\/p>\n<h4>Option #1: Code<\/h4>\n<p>If you prefer to code the favicon into the backend, you can use this option.<\/p>\n<ul>\n<li>Save your favicon file as \u201cfavicon.ico\u201d.<\/li>\n<li>Upload it to the root directory on your server.<\/li>\n<li>Update the HTML code in th element of your site. Here is the favicon code that all browsers will accept:<code><span style=\"font-weight: 400;\">&lt;link rel=\"shortcut icon\" href=\"http:\/\/yoururlhere.com\/favicon.ico\" \/&gt;<\/span><\/code><\/li>\n<li>Save your changes.<\/li>\n<\/ul>\n<h4>Option #2: Theme Customizer<\/h4>\n<p>This second option is available if your WordPress theme customizer allows for it (which most do).<\/p>\n<div  class=\"wpdui-pic-small   \" >\n<figure class=\"wp-caption alignnone\" data-caption=\"true\"><img loading=\"lazy\" decoding=\"async\" class=\"attachment-420x420 size-420x420\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2017\/04\/theme-customizer-site-identity.png\" alt=\"You can update your favicon using the Theme Customizer.\" width=\"403\" height=\"420\" \/><figcaption class=\"wp-caption-text\">You can update your favicon using the Theme Customizer.<\/figcaption><\/figure>\n<\/div>\n<ul>\n<li>Log into WordPress.<\/li>\n<li>Navigate down to the <strong>Appearance<\/strong> tab and select <strong>Customize<\/strong>.<\/li>\n<li>Find the <strong>Site Identity<\/strong> widget.<\/li>\n<li>In there, you can define your site\u2019s title, tagline, and upload your favicon.<\/li>\n<li>Save your changes.<\/li>\n<\/ul>\n<h4>Option #3: Use a Plugin<\/h4>\n<p>WordPress plugins let you do practically anything, so it shouldn\u2019t come as a surprise that they can do this, too.<\/p>\n<p>The\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/favicon-by-realfavicongenerator\/\" rel=\"noopener\" target=\"_blank\">RealFaviconGenerator\u2019s WordPress plugin<\/a>\u00a0is my pick for easily generating and setting up a favicon for your site. It&#8217;s rated 5-stars in the WordPress Plugin Directory and has 100,000 active installs, so it&#8217;s pretty much guaranteed to work for you, as it did for me.<\/p>\n<h2>Step #3: Check the Favicon on the Front-End<\/h2>\n<p>As with any other work you do on your site, you should take a moment to verify that your favicon looks good when live. Use the <a href=\"http:\/\/realfavicongenerator.net\/\" rel=\"noopener\" target=\"_blank\">RealFaviconGenerator<\/a> to test it out on all major browsers. Once you&#8217;re pleased with the end result, you should be good to go. There, wasn&#8217;t that easy?<\/p>\n<h2>Wrapping Up<\/h2>\n<p>Want to ensure your brand is instantly recognized no matter where users engage with it? Create a clear and unique symbolic representation that you can add to WordPress. Then let the favicon serve as your stand-in no matter where people run into your website or its bookmark stand-in around the web.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Brand recognition is critical for a company\u2019s website. That\u2019s why you invest so much time coming up with a simple yet bold color palette, consistent imagery, and well-defined brand messaging. The more consistent you are in defining and establishing that identity across your site, the more ingrained it\u2019ll become in your visitors\u2019 minds. But you [&hellip;]<\/p>\n","protected":false},"author":344989,"featured_media":164434,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[263],"tags":[10237],"tutorials_categories":[],"class_list":["post-162808","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-favicons"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/162808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/344989"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=162808"}],"version-history":[{"count":12,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/162808\/revisions"}],"predecessor-version":[{"id":219065,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/162808\/revisions\/219065"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/164434"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=162808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=162808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=162808"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=162808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}