[WordPress] 外掛分享: CDC Coupon Block

首頁外掛目錄 › CDC Coupon Block
WordPress 外掛 CDC Coupon Block 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
137 天前
最後更新
問題解決
WordPress 5.0+ v1.0.1 上架:2025-10-28

內容簡介

總結:CDC Coupon Block是一個多功能的Gutenberg區塊,讓您能夠創建外觀專業的優惠券展示,具有可自定義的功能。它支援多種布局、互動元素和配置選項,以滿足您的需求。

問題與答案:
1. CDC Coupon Block是什麼?
- CDC Coupon Block是一個多功能的Gutenberg區塊,可讓您創建外觀專業的優惠券展示,並具有可自定義的功能。

2. 這個外掛支援哪些自訂功能?
- 它支援多種布局選項,包括No Code、Promo Code或Show Code變體,以及可自定義的設計功能,例如操作符標誌和名稱、評級星星、背景顏色或圖像、呼籲動作按鈕等。

3. 如何使用CDC Coupon Block?
- 在文章或頁面編輯器中,點擊「+」按鈕以添加新區塊,然後搜尋「CDC Coupon Block」或在「Widgets」類別中找到它,選擇區塊後,使用設置面板(⚙圖標)進行自定義。

4. 這個外掛支援哪些區塊類型?
- 它支援三種區塊類型,包括No Code(無代碼)、Promo Code(促銷代碼)和Show Code(顯示代碼)。

5. CDC Coupon Block有哪些相依性?
- 這個外掛的相依性包括WordPress 5.0或更高版本、Gutenberg區塊編輯器、jQuery和從CDN載入的Toastr.js。

6. 開發者可獲得哪些可自訂屬性?
- 開發者可自訂各種屬性,包括區塊類型、呼籲動作按鈕顏色、操作符名稱、星星數量等。詳細列表可以查看外掛程式碼。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「CDC Coupon Block」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon