{"id":1730,"date":"2011-06-20T20:39:19","date_gmt":"2011-06-20T10:39:19","guid":{"rendered":"https:\/\/eisabainyo.net\/weblog\/?p=1730"},"modified":"2011-06-20T20:49:39","modified_gmt":"2011-06-20T10:49:39","slug":"how-to-use-google-fonts-in-your-wordpress-theme","status":"publish","type":"post","link":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/","title":{"rendered":"How to use Google Fonts in your WordPress Theme"},"content":{"rendered":"<p>Using Google Fonts in your WordPress Theme is very easy and it can be completed in 3 simple steps.  <\/p>\n<p><strong>1. <\/strong><br \/>\nGo to <a href=\"http:\/\/www.google.com\/webfonts\">Google Web Fonts<\/a>, browse all the fonts available for use on your website  and pick any font you like.  For this example, I will be using <a href=\"http:\/\/www.google.com\/webfonts\/family?family=Droid+Sans&subset=latin\">Droid Sans<\/a>. <\/p>\n<p><strong>2.<\/strong><br \/>\nClick on the font name to go to the font page and then click on <strong>Use This Font<\/strong> tab and copy and paste the css include into the &lt;head&gt; section in Header (<strong>header.php<\/strong>) file of your WordPress Theme.<\/p>\n<pre>&lt;link href='http:\/\/fonts.googleapis.com\/css?family=Droid+Sans&amp;v1' rel='stylesheet' type='text\/css'&gt;<\/pre>\n<p><strong>3.<\/strong><br \/>\nEdit the Stylesheet (<strong>style.css<\/strong>) file of your current WordPress Theme and add the following line of CSS: <\/p>\n<pre>SELECTOR { font-family: 'Droid Sans', arial, serif; }<\/pre>\n<p>Replace SELECTOR with the correct selector; for example: h1, .title, .post h2, etc.<\/p>\n<p>And that's it.  It is very simple and doesn't require any <a href=\"https:\/\/eisabainyo.net\/weblog\/2009\/04\/27\/sifr-vs-flir-font-replacement-techniques\/\">font replacement techniques<\/a> that use Flash or Javascript.  <\/p>\n<p><strong>Browser Compatibility of Google Web Fonts API<\/strong><\/p>\n<p>According to the Official FAQs, the Google Font API is compatible with the following browsers:<\/p>\n<ul>\n<li>Google Chrome: version 4.249.4+<\/li>\n<li>Mozilla Firefox: version: 3.5+<\/li>\n<li>Apple Safari: version 3.1+<\/li>\n<li>Opera: version 10.5+<\/li>\n<li>Microsoft Internet Explorer: version 6+<\/li>\n<\/ul>\n<p>It also works reliably on the vast majority of modern mobile operating systems, including Android 2.2+ and iOS 4.2+ (iPhone, iPad, iPod).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Using Google Fonts in your WordPress Theme is very easy and it can be completed<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5,11,4],"tags":[],"class_list":["post-1730","post","type-post","status-publish","format-standard","hentry","category-css","category-google","category-tutorials","category-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use Google Fonts in your WordPress Theme | Tech Leadership Advice &amp; Resources<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use Google Fonts in your WordPress Theme | Tech Leadership Advice &amp; Resources\" \/>\n<meta property=\"og:description\" content=\"Using Google Fonts in your WordPress Theme is very easy and it can be completed\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/\" \/>\n<meta property=\"og:site_name\" content=\"Tech Leadership Advice &amp; Resources\" \/>\n<meta property=\"article:published_time\" content=\"2011-06-20T10:39:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2011-06-20T10:49:39+00:00\" \/>\n<meta name=\"author\" content=\"Isabel Nyo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Isabel Nyo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/\"},\"author\":{\"name\":\"Isabel Nyo\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab\"},\"headline\":\"How to use Google Fonts in your WordPress Theme\",\"datePublished\":\"2011-06-20T10:39:19+00:00\",\"dateModified\":\"2011-06-20T10:49:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/\"},\"wordCount\":207,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab\"},\"articleSection\":[\"CSS\",\"Google\",\"Tutorials\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/\",\"url\":\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/\",\"name\":\"How to use Google Fonts in your WordPress Theme | Tech Leadership Advice &amp; Resources\",\"isPartOf\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#website\"},\"datePublished\":\"2011-06-20T10:39:19+00:00\",\"dateModified\":\"2011-06-20T10:49:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eisabainyo.net\/weblog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use Google Fonts in your WordPress Theme\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#website\",\"url\":\"https:\/\/eisabainyo.net\/weblog\/\",\"name\":\"Career Resources for Professionals in Tech\",\"description\":\"Books, worksheets, templates, frameworks and other useful resources for Chief Technology Officers (CTOs), VPs of Engineering &amp; Technology Directors\",\"publisher\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eisabainyo.net\/weblog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab\",\"name\":\"Isabel Nyo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g\",\"caption\":\"Isabel Nyo\"},\"logo\":{\"@id\":\"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/image\/\"},\"description\":\"My interests: Web Development, Web Design, Web Applications, Web 2.0, AJAX, Search Engine Optimisation, Latest Technologies and more..\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use Google Fonts in your WordPress Theme | Tech Leadership Advice &amp; Resources","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/","og_locale":"en_US","og_type":"article","og_title":"How to use Google Fonts in your WordPress Theme | Tech Leadership Advice &amp; Resources","og_description":"Using Google Fonts in your WordPress Theme is very easy and it can be completed","og_url":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/","og_site_name":"Tech Leadership Advice &amp; Resources","article_published_time":"2011-06-20T10:39:19+00:00","article_modified_time":"2011-06-20T10:49:39+00:00","author":"Isabel Nyo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Isabel Nyo","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/#article","isPartOf":{"@id":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/"},"author":{"name":"Isabel Nyo","@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab"},"headline":"How to use Google Fonts in your WordPress Theme","datePublished":"2011-06-20T10:39:19+00:00","dateModified":"2011-06-20T10:49:39+00:00","mainEntityOfPage":{"@id":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/"},"wordCount":207,"commentCount":0,"publisher":{"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab"},"articleSection":["CSS","Google","Tutorials","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/","url":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/","name":"How to use Google Fonts in your WordPress Theme | Tech Leadership Advice &amp; Resources","isPartOf":{"@id":"https:\/\/eisabainyo.net\/weblog\/#website"},"datePublished":"2011-06-20T10:39:19+00:00","dateModified":"2011-06-20T10:49:39+00:00","breadcrumb":{"@id":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/eisabainyo.net\/weblog\/2011\/06\/20\/how-to-use-google-fonts-in-your-wordpress-theme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eisabainyo.net\/weblog\/"},{"@type":"ListItem","position":2,"name":"How to use Google Fonts in your WordPress Theme"}]},{"@type":"WebSite","@id":"https:\/\/eisabainyo.net\/weblog\/#website","url":"https:\/\/eisabainyo.net\/weblog\/","name":"Career Resources for Professionals in Tech","description":"Books, worksheets, templates, frameworks and other useful resources for Chief Technology Officers (CTOs), VPs of Engineering &amp; Technology Directors","publisher":{"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eisabainyo.net\/weblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/33457dd19f1ad9bbd4b0cb50c54dfcab","name":"Isabel Nyo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3d4b1a4e0f425adb39b242b0d62c5fac07c82f8314a24631f1d16f47bdf006d8?s=96&d=mm&r=g","caption":"Isabel Nyo"},"logo":{"@id":"https:\/\/eisabainyo.net\/weblog\/#\/schema\/person\/image\/"},"description":"My interests: Web Development, Web Design, Web Applications, Web 2.0, AJAX, Search Engine Optimisation, Latest Technologies and more.."}]}},"_links":{"self":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts\/1730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/comments?post=1730"}],"version-history":[{"count":4,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts\/1730\/revisions"}],"predecessor-version":[{"id":1734,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/posts\/1730\/revisions\/1734"}],"wp:attachment":[{"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/media?parent=1730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/categories?post=1730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eisabainyo.net\/weblog\/wp-json\/wp\/v2\/tags?post=1730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}