imagewize / cta-block
A customizable Call-to-Action block for WordPress Gutenberg editor
Installs: 48
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Type:wordpress-plugin
Requires
- php: >=8.0
- composer/installers: ^2.0
README
A customizable Call-to-Action block for WordPress Gutenberg editor. This block provides an elegant way to create compelling call-to-action sections with customizable content, styling, and hover effects.
Features
- Full-width and wide-width alignment support
- Customizable background colors and gradients
- Custom button hover effects
- Responsive layout with three-column structure
- Built-in spacing controls
- Pre-configured template with:
- Centered content layout
- Customizable heading and paragraph
- Stylized button with hover effects
- Adjustable spacer blocks
Installation
Option 1: Composer (Recommended)
- Add the repository to your
composer.json
:
{ "require": { "imagewize/cta-block": "^0.1.0" } }
- Install via Composer:
composer require imagewize/cta-block
Option 2: Manual Installation
- Copy the plugin files to your
/wp-content/mu-plugins/cta-block
directory - The block will be automatically loaded as it's in the mu-plugins directory
- The CTA Block will appear in the block inserter under the 'Text' category
Development Setup
Prerequisites
- Node.js and npm installed
- WordPress development environment
@wordpress/scripts
package
Getting Started
- Clone the repository
- Install dependencies: