[WordPress] 外掛分享: Text Size Adjust

首頁外掛目錄 › Text Size Adjust
40+
安裝啟用
尚無評分
507 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.2+ v1.1.2 上架:2024-11-21

內容簡介

總結:
Text Size Adjust 是一個強大的 WordPress 外掛,讓您可以全局配置網站的文字大小。它提供桌面和手機視圖的獨立配置,確保在所有設備上都有最佳的可讀性。

問題與答案:
1. Text Size Adjust 是用來做什麼的?
- Text Size Adjust 是一個 WordPress 外掛,讓您可以全局配置網站的文字大小。

2. 這個外掛有哪些主要功能?
- 這個外掛有七種預定義的文字大小選項,提供桌面和手機視圖的獨立配置,可以即時預覽設置面板,與 WordPress 區塊編輯器整合,兼容默認的 WordPress 字體大小類別,實現簡單的基於類別的實現,並且可以透過管理面板的核取方塊進行選擇性的針對特定頁面的文字大小調整。

3. 如何在 WordPress 中使用 Text Size Adjust 外掛?
- 在區塊編輯器中,選擇任何文本區塊,並在側邊欄中使用“Text Size Settings”面板,從可用的大小選項中進行選擇。
- 在 HTML/CSS 中,將類 has-text-[size] 添加到任何元素,可以使用 xxs、xs、s、m、l、xl、xxl 等可用大小,例如:<p class="has-text-m">中等文字</p>。
- 在管理設置中,進入設置 > 文本大小設置,為桌面和手機配置全局文本大小,使用核取方塊選擇應用文字大小調整的特定頁面。

4. Text Size Adjust 外掛如何與 WordPress 字體大小相容?
- 這個外掛會自動將 WordPress 默認字體大小類別映射到相應的外掛大小,例如:has-small-font-size → has-text-s,has-medium-font-size → has-text-m,has-large-font-size → has-text-l,has-x-large-font-size → has-text-xl,has-xx-large-font-size → has-text-xxl。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Text Size Adjust」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Text Size Adjust is a powerful WordPress plugin that allows you to globally configure text sizes for your website. It provides separate configurations for desktop and mobile views, ensuring optimal readability across all devices.
Key Features

Seven predefined text sizes (XXS, XS, S, M, L, XL, XXL)
Separate desktop (769px and above) and mobile (768px and below) configurations
Real-time preview in the settings panel
Integration with the WordPress block editor
Compatible with default WordPress font size classes
Simple class-based implementation
Selective page-specific text size adjustments through admin panel checkboxes

Usage

In the Block Editor:

Select any text block
Use the “Text Size Settings” panel in the sidebar
Choose from available size options

In HTML/CSS:

Add the class has-text-[size] to any element
Available sizes: xxs, xs, s, m, l, xl, xxl
Example:

Medium text

In Admin Settings:

Navigate to Settings > Text Size Settings
Configure global text sizes for desktop and mobile
Use checkboxes to select specific pages where text size adjustments should apply

WordPress Font Size Compatibility
The plugin automatically maps WordPress default font size classes to corresponding plugin sizes:

has-small-font-size → has-text-s
has-medium-font-size → has-text-m
has-large-font-size → has-text-l
has-x-large-font-size → has-text-xl
has-xx-large-font-size → has-text-xxl

Default Size Values
Desktop (769px and above):
* XXS: 12px
* XS: 13px
* S: 14px
* M: 16px
* L: 18px
* XL: 24px
* XXL: 32px
Mobile (768px and below):
* XXS: 10px
* XS: 11px
* S: 12px
* M: 14px
* L: 16px
* XL: 18px
* XXL: 20px

延伸相關外掛

文章
Filter
Apply Filters
Mastodon