WP Responsive Auto Fit Text

August 15, 2023

WP Responsive Auto Fit Text Plugin

WP Responsive Auto Fit Text allows you to create great, big, bold headlines that resize to the viewport width, with a WordPress shortcode.

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

Installation

  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]

Changelog

0.1

  • Initial Revision

0.2

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

Details

  • Version: 0.2
  • Active installations: 800
  • WordPress Version: 2.5
  • Tested up to: 6.3.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars