
內容簡介
**總結:** 這個 WordPress 外掛讓你在網站中展示可變字型,讓使用者自訂預覽文字,並提供重量、寬度和字型大小的滑桿。
**問題與答案:**
1. 這個 WordPress 外掛的名稱是什麼?
- 答:Fontsampler Demo Site。
2. 使用者可以在哪裡查看這個外掛的示範網站?
- 答:Demo site。
3. 如果想要瀏覽這個外掛的相關網站,應該去哪裡?
- 答:Visit the plugin GitHub page。
4. 這個外掛的主要功能有哪些?
- 答:支援短代碼、互動式控制、響應式設計和可變字型支援。
5. 使用基本短代碼示例時,應該輸入哪些參數?
- 答:fontName = "https://example.com/font.woff2"。
6. 高級短代碼示例中,如果想要更改文字、大小和控制欄,應該如何設定?
- 答:fontName = "https://example.com/font.woff2",text = "Custom sample text",size = "48",和 controls = "true"。
外掛標籤
開發者團隊
原文外掛簡介
Show your variable font in your wordpress site with user determined preview text and slider for weight, width, and font size
Demo site
Fontsampler Demo Site
Plugin site
Visit the plugin GitHub page
Key Features
Shortcode Support: Use [font_sampler] with customizable parameters
Interactive Controls: Sliders for font size, weight, width, and text input
Responsive Design: Mobile-friendly interface
Variable Font Support: Specifically designed for variable fonts with multiple axes
Usage:
Basic Shortcode:
[font_sampler font="https://example.com/font.woff2"]
Advanced Shortcode:
[font_sampler font="https://example.com/font.woff2" text="Custom sample text" size="48" controls="true"]
Features of the Plugin
Variable Font Controls: Interactive sliders for weight, width, and size
Custom Text: Users can change the sample text in real-time
Error Handling: Graceful fallbacks when fonts fail to load
Responsive: Works well on all device sizes
