imagewize/cta-block
最新稳定版本:v1.0.0
Composer 安装命令:
composer require imagewize/cta-block
包简介
A customizable Call-to-Action block for WordPress Gutenberg editor
README 文档
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-blockdirectory - 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/scriptspackage
Getting Started
- Clone the repository
- Install dependencies:
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-02-11