Açıklama
LeCouponCopy is a lightweight WordPress plugin that displays coupon codes with a shortcode. Visitors can copy a coupon code with one click, and you can optionally redirect users to a target URL after the copy action.
This plugin is developed by LeZaiYun Studio and maintained by LaoJiang.
🔗 Official product page: https://www.lezaiyun.com/lecouponcopy.html
👤 Developer Blog: https://www.laojiang.me
Features
- One-click coupon copy
- Customizable button, text, and border styles
- Optional redirect URL after copy
- Responsive layout compatible with most themes
- Supports Classic Editor and Gutenberg with an insert-shortcode toolbar button
- Supports Quicktags insertion in text mode
- Color and font-size options available in Settings
Shortcode Usage
Basic usage (coupon code only):
[le_coupon_copy code="COUPON123"]
Full parameters (display text + redirect URL):
[le_coupon_copy code="COUPON123" text="点击复制优惠码" url="https://example.com"]
code: Coupon code to copy (required)text: Frontend display text (optional, defaults tocode)url: Redirect URL after copy (optional)
Ekran Görüntüleri



Yükleme
Automatic Installation
- In WordPress admin, go to Plugins -> Add New.
- Search for “LeCoupon Copy”.
- Click Install Now and activate the plugin.
Manual Installation
- Download and extract the plugin package.
- Upload the
lecouponcopyfolder to/wp-content/plugins/. - Activate “LeCoupon Copy” from the Plugins page.
After Activation
- Go to Settings -> Coupon Copy and adjust styles as needed.
- Insert
[le_coupon_copy code="YOURCODE"]in a post or page, or use the editor toolbar button.
SSS
-
How do I use it in a page?
-
Insert a shortcode such as
[le_coupon_copy code="YOURCODE"]in the editor. You can also use the “Insert Coupon” toolbar button to generate the shortcode. -
Can I place multiple coupon codes on one page?
-
Yes. You can use multiple
[le_coupon_copy ...]shortcodes in the same post or page. -
How can I redirect users after copying?
-
Add the
urlparameter in the shortcode, for example:[le_coupon_copy code="ABC" url="https://example.com"].
İncelemeler
Bu eklenti için herhangi bir değerlendirme bulunmuyor.
Katkıda Bulunanlar ve Geliştiriciler
“lecouponcopy” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.
Katkıda bulunanlar“lecouponcopy” eklentisini dilinize çevirin.
Geliştirmeyle ilgilenir misiniz?
Kodu görüntüleyin, SVN deposuna göz atın ya da RSS ile geliştirme günlüğüne abone olun.
Değişiklik Kaydı
1.2.2
- Added multilingual support with language packs: English (
en_US), Simplified Chinese (zh_CN), and Traditional Chinese (zh_TW) - Added plugin textdomain loading and standardized translation-ready UI strings for admin/editor prompts
1.2.1
- Renamed shortcode from
[lecoupon]to[le_coupon_copy]for WordPress.org naming guidelines - Moved Quicktags admin JavaScript to enqueued script file
1.0.0
- Initial release
- Added
[le_coupon_copy]shortcode withcode,text, andurlparameters - Added TinyMCE insert button for Classic Editor
- Added Quicktags button in text mode
- Added style settings for text, button, border colors, and font sizes
