WP Manifestindependent plugin directory
manifest / utilities / fw-splitfiap

FW SplitFlip

A WordPress plugin that implements a split-flap display effect using shortcodes.

★ 1stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/stphnwlkr/fw-splitfiap/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

FW SplitFlap Plugin

FW SplitFlap is a WordPress plugin that implements a split-flap display effect using a shortcode. The display is built with vanilla JavaScript and CSS and supports extensive customization, including multi-line wrapping, randomized flip animations, and custom fonts. It delivers a visually rich, dynamic experience for cycling through text.


✨ Features

  • Shortcode-based Integration
    Easily embed the split-flap display using [split_flap] anywhere on your site.

  • Smart Multi-line Wrapping
    Automatically wraps long values into multiple rows, preserving word boundaries based on tile width.

  • Highly Configurable Options
    Supports:

    • Single static value or multi-value cycling via values (semicolon-delimited)
    • Tile-based layout with width, responsive size, and alignment
    • Themes (dark, light) and character sets (numeric, alpha, alphanumeric)
    • Flip animation speed, delay, iterations, and loop control
    • Padding character
    • ✅ Custom fonts via font attribute
  • T-Shirt Sizing
    Sizes like xs, sm, md, lg, and xlavailable for various sizing. CSS variables so you can be used to adjust as needed.

/* Extra Large */
.split-flap-display[data-size="xl"] {
  --digit-width: 90px;
  --digit-height: 110px;
  --digit-font-size: 76px;
  --digit-line-height: 1.42;
}
  • Smooth Flip Animations
    Hardware-accelerated CSS transforms and async JavaScript create a fast and fluid animation effect.

  • Self-hosted and Privacy-Friendly
    All assets are loaded locally. No Google Fonts or external CDNs required.


🛠 Installation

  1. Download or clone the plugin repository.
  2. Copy the plugin folder (e.g., fFW-SplitFiap) into your WordPress /wp-content/plugins/ directory.
  3. Activate the plugin from the WordPress Plugins admin screen.
  4. Insert the [split_flap] shortcode into your posts, pages, or templates.

⚙️ Usage

Use the [split_flap] shortcode with any of the following attributes:

Attribute Description Default
value A single value to display. 0
values A semicolon-delimited list of values to cycle through. (none)
width Number of tiles per row. Long text will wrap accordingly. 5
size Responsive size: xs, sm, md, lg, xl. md
theme Color theme: dark, light. dark
chars Character set for flip animation: numeric, alpha, alphanumeric. alphanumeric
align Text alignment: left, right. left
padding Character used for padding short values. (space)
speed Flip duration in milliseconds. 2
iterationsMin Minimum number of random flips per digit. 4
iterationsMax Maximum number of random flips per digit. 8
cycleDelay Delay between value changes in milliseconds. 4000
loop Whether to cycle through values repeatedly: "true" or "false". true
font Custom font family (e.g., 'Courier New', monospace). (inherited)

📘 Example Shortcode

[split_flap values="London; Barcelona; Venice; Moscow" width="9" size="md" theme="dark" chars="alphanumeric" align="left" padding=" " speed="50" iterationsMin="8" iterationsMax="12" cycleDelay="5000" loop="true"]

This shortcode will display a light-themed split-flap with 10 columns, flipping through four cities using a custom font and extra-large size.


🧩 Notes

  • The values attribute takes precedence over value.
  • Word wrapping is automatically applied if text exceeds the given width.
  • Font families must be available via CSS (@font-face) in your theme or plugin.
  • No external fonts or assets are loaded by default.

🙌 Credits

This plugin builds upon the original concept and animation principles by @jayKayEss.

GitHub: https://github.com/jayKayEss/Flapper