Animated CTA Block
Custom Wordpress block that features an expanding background CTA when scrolled into view
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mattbedford/animated-cta/archive/refs/heads/main.zipA 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