Modern Fonts for Font Library

外掛說明

Modern Fonts for Font Library is a plugin that add a font collection to the WordPress Font Library that allows you to easily add modern font stacks of sytem fonts to your website.

An user review:

The “Modern Font Stacks” are 15 handpicked font families that ensure a similar look and feel of your text across platforms, be it Windows, macOS, Linux or mobile devices, in the fastest and most robust way possible — by using the best system fonts available.

No external downloads are necessary. No “flash of unstyled text”. There are no privacy issues.

Search for “Modern Font Stacks” on your favorite search engine for the full story; you won’t regret it.

You can add these font stacks to your theme via theme.json, which is not overly technical, just a bit cumbersome — or — you can use the “Modern Fonts for Font Library” plugin, which does just that for you. Afterward, the new font stacks will be available in the typography settings of your full site editing theme and, as a result, in the block editor for your content.

Worried about long-time support? Don’t be. The system fonts aren’t going anywhere, and you can at any time replace the “Modern Font for Font Library” plugin with a few lines of custom CSS or the mentioned addition to theme.json.

I’ve built numerous sites using Modern Font Stacks. Having a good selection of beautiful and efficient fonts for body text, script, monospaced text, etc. means that I can often avoid external fonts entirely, or just use a single external font for branding or headings. This results in a super-fast user experience.

Support

Please fill a bug in the GitHub repository

Contribute

You can contribute to the development of this plugin on GitHub

Credits

Props to @danklammer for the Modern Fonts Stacks project.
Props to @Ren2049 and @LittleBigThing for proposing the addition to the font library by default.

License

This plugin is licensed under the GPLv2 or later.

Contact

You can contact me at https://mebenedetto.com

螢幕擷圖

安裝方式

  1. Install the plugin through the WordPress plugins screen directly or upload the plugin files to the /wp-content/plugins/modern-fonts-for-font-library directory.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

使用者評論

2024 年 8 月 27 日
The “Modern Font Stacks” are 15 handpicked font families that ensure a similar look and feel of your text across platforms, be it Windows, macOS, Linux or mobile devices, in the fastest and most robust way possible — by using the best system fonts available. No external downloads are necessary. No “flash of unstyled text”. There are no privacy issues. Search for “Modern Font Stacks” on your favorite search engine for the full story; you won’t regret it. You can add these font stacks to your theme via theme.json, which is not overly technical, just a bit cumbersome — or — you can use the “Modern Fonts for Font Library” plugin, which does just that for you. Afterward, the new font stacks will be available in the typography settings of your full site editing theme and, as a result, in the block editor for your content. Worried about long-time support? Don’t be. The system fonts aren’t going anywhere, and you can at any time replace the “Modern Font for Font Library” plugin with a few lines of custom CSS or the mentioned addition to theme.json. I’ve built numerous sites using Modern Font Stacks. Having a good selection of beautiful and efficient fonts for body text, script, monospaced text, etc. means that I can often avoid external fonts entirely, or just use a single external font for branding or headings. This results in a super-fast user experience. The Font Library is a Full Site Editing feature, and therefore, the plugin does not really benefit classic theme users. I’d love to see some integration with classic themes; however, I wouldn’t bet on it since classic themes’ implementation of typography settings varies so much. Tested with WordPress 6.6.1 and PHP 8.3 ⭐⭐⭐⭐⭐
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Modern Fonts for Font Library〉的開發相關工作。

參與者

將〈Modern Fonts for Font Library〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.8

Consolidate version release.

1.0.7

  • Bump stable version.
  • Allow manual run of the deploy github action.
  • Update plugin description.

1.0.5

  • Bump tested up to version.
  • Add user review to the description.

1.0.4

Fixed the plugin version.

1.0.3

Fixed the functions name.

1.0.2

Fixed version and changelog.

1.0.1

First public release for the WordPress Plugin directory.

0.0.7

First stable release for WordPress 6.5