WP Responsive Auto Fit Text

Beskriuwing

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 ***

Ynstallaasje

  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

FAQ

Can I wrap the shortcode with HTML header tags

Yes, here is an example:

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

Resinsjes

Lês alle 5 resinsjes

Meiwurkers & amp; Untwikkelders

“WP Responsive Auto Fit Text” is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.

Meiwurkers

Oersette “WP Responsive Auto Fit Text” yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .

Feroaringslog

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