{"id":18310,"date":"2013-06-04T11:23:27","date_gmt":"2013-06-04T09:23:27","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=18310"},"modified":"2013-06-04T11:23:27","modified_gmt":"2013-06-04T09:23:27","slug":"how-to-add-google-fonts-into-your-wordpress","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2013\/06\/04\/how-to-add-google-fonts-into-your-wordpress\/","title":{"rendered":"How to add Google fonts into your WordPress"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><a href=\"http:\/\/tatica.org\/en\/2013\/06\/03\/googlefont-wordpress\/\">How to add Google fonts into your WordPress<\/a><\/p>\n<p>Use Google to generate the CSS for the font, then include it using <em>wp_register_style()<\/em> and\/or <em>wp_enqueue_style()<\/em> WordPress functions. \u00a0This should probably be generalized to accept font name parameters, as well as probably moved out into a plugin.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>How to add Google fonts into your WordPress Use Google to generate the CSS for the font, then include it using wp_register_style() and\/or wp_enqueue_style() WordPress functions. \u00a0This should probably be generalized to accept font name parameters, as well as probably moved out into a plugin.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,62,1334,60],"tags":[341,3010,1157,1364],"keyring_services":[],"class_list":["post-18310","post","type-post","status-publish","format-link","hentry","category-general","category-technology","category-web-work","category-wordpress","tag-fonts","tag-typography","tag-web-design","tag-wordpress-themes","post_format-post-format-link"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":25971,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/03\/24\/wordpress-plugin-typecase-web-fonts\/","url_meta":{"origin":18310,"position":0},"title":"WordPress Plugin : Typecase Web Fonts","author":"Leonid Mamchenkov","date":"March 24, 2016","format":false,"excerpt":"Disclaimer: I'm not much of a fonts guy, but once in a while I just want to be. I was reading the \"Best Practices for Designing a Pragmatic RESTful API\" article, when I realized I liked the font it was written in very much. \u00a0I liked it so much that\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28330,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/01\/15\/nerd-fonts-iconic-font-aggregator-collection-and-patcher\/","url_meta":{"origin":18310,"position":1},"title":"Nerd Fonts &#8211; Iconic font aggregator, collection, and patcher","author":"Leonid Mamchenkov","date":"January 15, 2018","format":false,"excerpt":"Nerd Fonts is a collection of fonts for people who work with code snippets, command line, and text-based user interface applications.\u00a0 The fonts are also patched with additional popular icon sets like Font Awesome, Devicons, Octicons, and others.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2018\/01\/custom-sankey-glyphs-combined-diagram-500x338.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16716,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/09\/17\/programming-fonts\/","url_meta":{"origin":18310,"position":2},"title":"Programming fonts","author":"Leonid Mamchenkov","date":"September 17, 2012","format":false,"excerpt":"Once a decade or so I get to review my Vim configuration, which also usually brings my attention to all the things surrounding - bash, terminal, etc. \u00a0This time around I wasn't looking for anything in particular, but somehow I stumbled across the Top 10 Programming Fonts. \u00a0Of course, this\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28256,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/11\/28\/fedora-27-and-high-dpi-support\/","url_meta":{"origin":18310,"position":3},"title":"Fedora 27 and high DPI support","author":"Leonid Mamchenkov","date":"November 28, 2017","format":false,"excerpt":"I've recently updated my laptop to Fedora 27 and since then I had some issues with the rendering of the desktop fonts.\u00a0 At first, everything seemed too large and over-magnified.\u00a0 Resetting the desktop fonts to much smaller sizes helped a bit, but there were still random issues with different applications\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2017\/11\/Fedora-27-fonts-1-500x281.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":25048,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/12\/12\/random-fonts-and-colors-for-each-wordpress-blog\/","url_meta":{"origin":18310,"position":4},"title":"Random fonts and colors for each WordPress blog post","author":"Leonid Mamchenkov","date":"December 12, 2015","format":false,"excerpt":"Here is an interesting web design idea that adds uniqueness to the website : use a random font for post titles, and use random color schemes for each post. \u00a0 To hell with consistency you say? \u00a0Well, apparently, being random is being consistent too. Picked up the thought from this\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18976,"url":"https:\/\/mamchenkov.net\/wordpress\/2013\/12\/16\/adding-awesome-font-icons-to-wordpress-menus\/","url_meta":{"origin":18310,"position":5},"title":"Adding Awesome Font Icons to WordPress menus","author":"Leonid Mamchenkov","date":"December 16, 2013","format":false,"excerpt":"WordPress Tavern lists step-by-step instructions on how to add icons from the Awesome Font to your WordPress menus and content. \u00a0It's really simple and the result does look better. \u00a0Here is how my menu looks now: I don't really need the icons in the content, but it's good to know\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"main menu icons","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2013\/12\/main-menu-icons-500x35.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=18310"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18310\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=18310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=18310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=18310"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=18310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}