WP Responsive Auto Fit Text

外掛說明

Based on slabText – a jQuery plugin for producing big, bold & responsive headlines (https://github.com/freqDec/slabText), this plugin allows you to create great, big, bold & responsive headlines that resize to the viewport width with a WordPress shortcode.

Usage

[slabtext]
[slab]line 1[/slab]
[slab]line 2[/slab]
[slab]line 3[/slab]
[slab]line 4[/slab]
[/slabtext]

Styling per line
[slabtext]
[slab color=”#000″ font=”Open Sans” transform=”uppercase”]line 1[/slab]
[slab]line 2[/slab]
[slab color=”#FFF” font=”Arial”]line 3[/slab]
[slab]line 4[/slab]
[/slabtext]

Working Demo

*** PHP needs to be at minimum v.5.3 for this plugin to work ***

安裝方式

  1. Extract the zip file and drop the contents in the wp-content/plugins/ directory of your WordPress installation
  2. Activate the Plugin from Plugins page

常見問題集

Can I wrap the shortcode with HTML header tags

Yes, here is an example:

[slabtext]
[slab]My responsive title[/slab]
[/slabtext]

使用者評論

閱讀全部 5 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Responsive Auto Fit Text〉的開發相關工作。

參與者

將〈WP Responsive Auto Fit Text〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.1

  • Initial Revision

0.2

  • Added shortcode parameters/attributes: color, font, transform

0.3

  • Security patch, thanks to theviper17 and patchstack.com for reporting