![]() ![]() While the plugin is super easy to use, it will only work for Google Fonts, whereas the manual method will work for any font. Once the plugin generates the stylesheet, it will add it to your theme’s header. You can also choose exactly which weights to include. For example, you can see that external request to Google’s servers for a font in the Pingdom Tools waterfall on my test site: And that’s pretty cool!īeyond that, there can be a performance boost from hosting fonts locally because you’re able to cut out external requests to whatever server is hosting your fonts. You’ll be able to use any font that you find and have the legal rights to. ![]() But it is a good option for some sites.įirst off, hosting fonts locally opens up the whole world of fonts on the web. I actually don’t think that most sites need to host their fonts locally. Why Bother Hosting Fonts Locally, Anyway? While I’ve framed this post as “how to host Google Fonts locally on WordPress”, the manual method that I’ll show you will actually work with any font, so it’s by no means limited to just Google Fonts.īeyond that manual method, I’ll also share a plugin that makes it easier to host Google Fonts locally ( but only works with Google Fonts – not with other fonts). But it can also result in a ton of external requests to Google’s servers, which is why you might prefer to just host the fonts locally instead. Looking for a way to host Google Fonts locally on your WordPress site? Google Fonts is awesome because it unlocks a whole heap of potential font choices for your WordPress site. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |