webfont-loader icon indicating copy to clipboard operation
webfont-loader copied to clipboard

Download webfonts and host them locally on a WordPress site

Results 11 webfont-loader issues
Sort by recently updated
recently updated
newest added

In the Astra theme, we have used this library to load the font. Test case:- When we updated the font on one first subsite, this font is updated on the...

To load the font in not only the block editor, but also the template editor and site editor, Gutenberg asks that theme authors use `add_editor_style`. (Using `enqueue_block_editor_assets` only works for...

This approach seems cumbersome. Couldn't it be simplified so the theme can call the loader at activation and Customizer Save, and the rest of the time the theme would enqueue...

### Issue description: When using an SFTP filesystem backend the tmp-file directory is flooded with dowloaded google font files (When using SFTP without storing the password, Wordpress asks for password...

@aristath another useful, neat and beautiful package! Thanks a lot for this! Just wondering if there is a special reason why the `require_once` is needed for Composer users and not...

I'm using a WordPress theme that incorporates this library. Nice work, but there are some inherent issues with it that cause a hard crash. Here's the code causing issues: ```php...

I am using this awesome module to dynamically enqueue fonts but, since it is possible that it will fail to download some font families or weights, I would like if...

Hello, I've encountered two issues with the way directory permissions are handled. The code (repeated twice) looks like, ```php if ( ! defined( 'FS_CHMOD_DIR' ) ) { define( 'FS_CHMOD_DIR', (...

Hello. I have added a parameter of subset for cyrillic support in url, using Open Sans font. https://developers.google.com/fonts/docs/getting_started#specifying_script_subsets For instance: wptt_get_webfont_url(esc_url( 'https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&subset=cyrillic&display=swap' )); Unfortunately, it does not work. Cyrillic text...

If the remote URL is generated automatically in the theme, it may even be empty. In such case there is an infinite PHP loop produced, which causes memory error. These...