Hassle-Free Fonts

Описание

Let’s get this straight: The effort to host Google web fonts on your own server is immense! First of all you need to download all .eot, .woff, .woff2, .ttf and .svg files, then copy them onto your server and finally paste a CSS snippet.

Sounds easy? Well it could be, if Google would actually provide any direct links to download these files and a customized CSS for self-hosting them.
With this plugin you can download fonts and host them yourself.

Thanks to the https://google-webfonts-helper.herokuapp.com/fonts API we can download it right to your webserver.

Okay enough nice talk, how does it work?!?
The plugin uses an external API to download fonts.

With the help of an React javascript interface we will generate the API request and than download its to:
— wordpress\wp-content\uploads\hassle-free-fonts

it’s download as a zip formatted file, so we unpack it into
— wordpress\wp-content\uploads\hassle-free-fonts\fonts

So ones the fonts is downloaded to our server we can generate a css file.
— wordpress\wp-content\uploads\hassle-free-fonts\style.css

By default this file is empty. After generation the css style will be filled with @font-face structure to make the font available.
Simple and easy without any hassle.

Скриншоты

  • list of all download font files
  • list of available font to download from remote API
  • public CSS style file to declare your font

Часто задаваемые вопросы

Does it requires javascript?

Yes, our interface is build with react!

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Hassle-Free Fonts» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Hassle-Free Fonts» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.0

  • initial version