Install
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/mattbedford/animated-cta/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A custom Gutenberg block that renders a two-column call-to-action with an animated expanding background when it scrolls into view.
Built for Frequenze (Chiasso) but reusable anywhere.
Local Development
This project uses wp-env to spin up a WordPress instance for testing, and @wordpress/scripts to bundle the block.
Requirements
- Node.js (>= 18 recommended)
- npm
Install dependencies
npm install
## Commands
//Start WP Env
npm run env:start
// Stop WP env
npm run env:stop
// Start block development - IMPO!
npm run start
// Build production bundle
npm run build