Custom Fonts

外掛說明

這個外掛能協助網站管理員在 WordPress 網站中輕鬆嵌入 woff2、woff、ttf、svg、eot 及 otf 格式的自訂字型檔案。

目前這個外掛可搭配以下程式:

這個外掛的執行方式?

  1. 安裝外掛。
  2. 上傳同一字型的多種格式字型檔案,以獲得最佳瀏覽器相容性。
  3. 大功告成!網站管理員之後便能在 Astra、Beaver Builder 及 Elementor 中看到設定中新增的字型名稱。

如果網站並未使用這個外掛支援的外掛或佈景主題,網站管理員可自行撰寫自訂 CSS 以便為各項元素指派字型。

螢幕擷圖

  • 新增自訂字型
  • 在 Astra 佈景主題的外觀自訂器中選取任何一種自訂字型

安裝方式

  1. 將外掛安裝套件解壓縮所得的 custom-fonts 資料夾上傳至網站的 /wp-content/plugins/ 目錄中,或在 WordPress 管理後台的 [外掛] 選單中直接安裝外掛。
  2. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
  3. 前往 [外觀]→[Custom Fonts],先新增字型名稱,然後上傳 woff2、woff、ttf、eot、otf 及 svg 格式的字型檔案。

使用者評論

2023 年 5 月 25 日 1 則留言
Italics must be loaded as a separated font and can't be applied in editor with the italic button. For a plugin which's only purpose is loading fonts, it's a pit.
2023 年 1 月 25 日 1 則留言
I finally found an easy solution to locally use Google Fonts, when using Elementor Free version - thank you very much! In the beginning there was a little mistake on other devices than my desktop computer, but I found that was because of an https issue not loading correctly. So everything fine, thanks again!
2022 年 12 月 17 日 1 則留言
One of my most used plugins, i used this plugin on more than 20 sitesvery It is completely consistent with Elementor have option about chosing display font like swap
2022 年 11 月 29 日 1 則留言
This is a great plugin, it is awesome and works as described. I have to say that this has to be my favourite plugin ever. Also the support is truly amazing: the developer is always very helpful and works with you if you have any problems, and if there are any problems, he fixes these right away. 5-stars all the way, thank you!! keep up the great work - it rocks
閱讀全部 46 則使用者評論

參與者及開發者

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

參與者

〈Custom Fonts〉外掛目前已有 14 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Custom Fonts〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.3.7

  • Fix: Custom font’s CSS not applying in responsive previews of WordPress block editor.

1.3.6

  • Improvement: Compatibility with Spectra editor.

1.3.5

  • Fix: Inherit font option not working as expected for some customizer options.

1.3.4

  • Fix: Custom fonts are not loading on Astra customizer and Elementor typography settings after Elementor Pro v3.6.0.

1.3.3

  • Fix: Headers already sent warning in customizer.

1.3.2

  • Fix: JS conflict with Jetpack plugin on admin.

1.3.1

  • Fix: Font not rendered properly when multiple font format files are added for a single font.

1.3.0

  • New: Add multiple font weight to the Custom Fonts.

1.2.6

  • Improvement: PHP 8.0 compatibility.

1.2.5

  • Fix: Font display not added properly.

1.2.4

  • Improvement: Hardened the security of plugin

1.2.3

  • Fix: Fixed compatibility with other plugins with respect to the admin notice.

1.2.2

  • New: Users can now share non-personal usage data to help us test and develop better products. (https://store.brainstormforce.com/usage-tracking/?utm_source=wp_dashboard&utm_medium=general_settings&utm_campaign=usage_tracking)

1.2.1

  • Improvement: Hardened the security of plugin
  • Improvement: Compatibility with latest WordPress PHP_CodeSniffer rules

1.2.0

  • Improvement: Displaying Menu after Astra options Menu.

1.1.0

  • New: Option to select font-display property.

1.0.8

  • New: Now you can also upload otf fonts.
  • Fix: ttf fonts not being uploaded in WordPress media library.

1.0.7

  • Fix: Custom Fonts loading the Block Editor breaking styling of the editor.

1.0.6

  • Improvement: Enqueue the custom fonts in the Blocck Editor to correctly prefiew the custom fonts.

1.0.5

  • Fix: JavaScript error in the Firefox browser not allowing to upload any fonts.

1.0.4

  • New: Added compatibility with Beaver Builder Theme, Beaver Builder Plugin and Elementor.

1.0.3

  • Fix: When two custom fonts are loaded on a site, only one of the fonts will be actually enqueued.

1.0.2

  • White Label support added from the Astra Pro plugin.

1.0.1

  • Improved the design of the Admin UI.
  • Changed the plugin name to be Custom Fonts instead of BSF Custom Fonts.

1.0.0

  • Initial release.