CDC Coupon Block
A customizable WordPress Gutenberg block for creating interactive coupon designs.
Plugin info
Maintenance & Compatibility
Maintenance score
Actively maintained • Last updated 63 days ago
Is CDC Coupon Block abandoned?
Likely maintained (last update 63 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
The CDC Coupon Block is a versatile Gutenberg block that allows you to create professional-looking coupon displays with customizable features. It supports multiple layouts, interactive elements, and configuration options to fit your needs.
Features
- Multiple Layout Options: No Code, Promo Code, or Show Code variants
- Customizable Design:
** Operator logo and name
** Rating stars with configurable count and color
** Background color or image
** Call-to-action button with customizable text and color
** Badge (e.g., “POPULAR”)
** Offer text and pros list - Interactive Elements:
** Promo code copy to clipboard
** Toggle visibility for hidden codes
** External links for CTA and review pages - Sticky Mode: Make the coupon stick to the page
- Terms & Conditions: Optional section for legal text
- Review Link: Optional link to review page
- RTL Support: Includes RTL CSS for right-to-left languages
Usage
- In a post or page editor, click the “+” button to add a new block
- Search for “CDC Coupon Block” or find it in the “Widgets” category
- Click on the block to select it
- Use the settings panel (⚙ icon) to customize:
** Block Type (No Code / Promo Code / Show Code)
** Operator details (name, logo)
** Colors and styling
** CTA button settings
** Offer text and pros
** Terms & conditions
** Review link
Block Types
- No Code: Simple call-to-action button without promo code
- Promo Code: Displays code with copy-to-clipboard button
- Show Code: Code with show/hide toggle functionality
Dependencies
- WordPress 5.0 or higher
- Gutenberg block editor (included in WordPress 5.0+)
- jQuery (included with WordPress)
- Toastr.js (loaded from CDN for notifications)
Attributes (for developers)
The block supports numerous customizable attributes including:
* blockType: string (default: ‘no-code’)
* ctaColor: string (default: ‘#ffc107’)
* ctaText: string (default: ‘PLAY NOW’)
* operatorName: string (default: ‘Operator name’)
* starCount: number (default: 5)
* backgroundColor: string (default: ‘#fff9f0’)
* And many more (see plugin code for full list)
License
GPL-2.0-or-later – see LICENSE file for details
Author
HAGTIC
Website: https://hagtic.com
Plugin Page: https://hagtic.com/cdc-coupon-block
Installation
- Download the plugin zip file (cdc-coupon-block.zip)
- Log in to your WordPress admin dashboard
- Go to Plugins > Add New
- Click “Upload Plugin” and select the zip file
- Click “Install Now”
- After installation, click “Activate”
