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 格式的字型檔案。

使用者評論

2021 年 5 月 7 日
Works as advertised by the author. Not very proud to write this, but this helps me to use custom font with elementor, which is an otherwise paid feature.
2021 年 4 月 16 日
Can I use this with Salient (WP Bakery)?
2021 年 2 月 28 日
Excellent plugin to add the custom fonts functionality to Elementor free. Super easy to use. The fonts will show up in the font menu in Elementor Builder, in Global settings, as you need. Works like a charm. Thank you very much.
2021 年 2 月 9 日
Great plugin with awesome team. I need to upload OTF font file to WordPress and use it with Elementor Editor. This plugin works very well. Thank you for the team.
閱讀全部 30 則使用者評論

參與者及開發者

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

參與者

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

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

對開發相關資訊感興趣?

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

變更記錄

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.