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.
- 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
- Add the repository to your
composer.json
:
{
"require": {
"imagewize/cta-block": "^0.1.0"
}
}
- Install via Composer:
composer require imagewize/cta-block
- 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
- Node.js and npm installed
- WordPress development environment
@wordpress/scripts
package
- Clone the repository
- Install dependencies: