外掛說明
這個外掛能協助網站管理員在 WordPress 網站中輕鬆嵌入 woff2、woff、ttf、svg、eot 及 otf 格式的自訂字型檔案。
目前這個外掛可搭配以下程式:
這個外掛的執行方式?
- 安裝外掛。
- 上傳同一字型的多種格式字型檔案,以獲得最佳瀏覽器相容性。
- 大功告成!網站管理員之後便能在 Astra、Beaver Builder 及 Elementor 中看到設定中新增的字型名稱。
如果網站並未使用這個外掛支援的外掛或佈景主題,網站管理員可自行撰寫自訂 CSS 以便為各項元素指派字型。
安裝方式
- 將外掛安裝套件解壓縮所得的
custom-fonts
資料夾上傳至網站的/wp-content/plugins/
目錄中,或在 WordPress 管理後台的 [外掛] 畫面中直接安裝外掛。 - 在 WordPress 網站管理後台的 [外掛] 畫面啟用外掛。
- 前往 [外觀]→[Custom Fonts],先新增字型名稱,然後上傳 woff2、woff、ttf、eot、otf 及 svg 格式的字型檔案。
使用者評論
2021 年 1 月 15 日
Could not ask for a better solution, and that it works with both Astra and Elementor is just cake on top of the cherry!
2020 年 12 月 17 日
Great plugin. The only thing missing is support for different font-weights.
2020 年 11 月 21 日
I used this plugin with Astra theme, WordPress version 5.5.3.
Works excellent!
A great thenk you!!!
2020 年 10 月 23 日
I was looking for a good and simple plugin for add my fonts, this is the perfect plugin!! thanks 😉
2020 年 9 月 24 日
So happy with this plugin. I did have a problem where the custom font I uploaded was not showing on some browsers - but I resolved this by enabling SSL on my site.
2020 年 7 月 15 日
I used this to add a custom font to a loading screen for my website, I tried a bunch of different plugins, this one actually worked without headaches.
參與者及開發者
變更記錄
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.