{"id":1253,"date":"2014-05-10T12:11:12","date_gmt":"2014-05-10T12:11:12","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=1253"},"modified":"2022-02-17T07:14:03","modified_gmt":"2022-02-17T07:14:03","slug":"using-google-fonts","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/wordpress\/themes-wordpress\/child-themes\/using-google-fonts","title":{"rendered":"Using Google Fonts"},"content":{"rendered":"<p>\nIn a functions.php file use this:\n<\/p>\n<pre>\r\n<code>\r\nfunction add_google_fonts() {\r\nwp_register_style(&#39;GoogleFonts&#39;, &#39;http:\/\/fonts.googleapis.com\/css?family=Coda|Contrail+One&#39;);\r\n\r\nwp_enqueue_style(&#39;GoogleFonts&#39;);\r\n}\r\n \r\nadd_action(&#39;wp_print_styles&#39;, &#39;add_google_fonts&#39;);\r\n<\/code><\/pre>\n<p>\nChange the font names to the name you wan to us and separate multiple fonts with a &#39;|&#39; character<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a functions.php file use this: function add_google_fonts() { wp_register_style(&#39;GoogleFonts&#39;, &#39;http:\/\/fonts.googleapis.com\/css?family=Coda|Contrail+One&#39;); wp_enqueue_style(&#39;GoogleFonts&#39;); } add_action(&#39;wp_print_styles&#39;, &#39;add_google_fonts&#39;); Change the font names to the name you wan to us and separate multiple fonts with a &#39;|&#39; character<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[126],"tags":[],"class_list":["post-1253","post","type-post","status-publish","format-standard","hentry","category-child-themes"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1253","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=1253"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1253\/revisions"}],"predecessor-version":[{"id":1254,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/1253\/revisions\/1254"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=1253"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=1253"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=1253"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}