Tiu ĉi kromprogramo ne estis testita en la 3 lastaj gravaj eldonoj de WordPress. Eble ĝi ne plu estas prizorgata kaj ĝi eble havus kongruajn problemojn en novaj versioj de WordPress.

WP Responsive Auto Fit Text

Priskribo

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

Instalo

  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

OD

Can I wrap the shortcode with HTML header tags

Yes, here is an example:

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

Pritaksoj

Legi ĉiujn 5 pritaksojn

Kontribuantoj k. programistoj

“WP Responsive Auto Fit Text” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.

Kontribuantoj

Traduki “WP Responsive Auto Fit Text” en vian lingvon.

Ĉu interesita en programado?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Ŝanĝprotokolo

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