Title: lecouponcopy
Author: 老蒋和他的小伙伴
Published: <strong>2026 年 6 月 9 日</strong>
Last modified: 2026 年 6 月 9 日

---

搜索插件

![](https://ps.w.org/lecouponcopy/assets/banner-772x250.png?rev=3566164)

![](https://ps.w.org/lecouponcopy/assets/icon-256x256.png?rev=3566164)

# lecouponcopy

 作者：[老蒋和他的小伙伴](https://profiles.wordpress.org/laobuluo/)

[下载](https://downloads.wordpress.org/plugin/lecouponcopy.1.2.1.zip)

 * [详情](https://cn.wordpress.org/plugins/lecouponcopy/#description)
 * [评价](https://cn.wordpress.org/plugins/lecouponcopy/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/lecouponcopy/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/lecouponcopy/#developers)

 [支持](https://wordpress.org/support/plugin/lecouponcopy/)

## 描述

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.

#### 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 to `code`)
 * `url`: Redirect URL after copy (optional)

## 屏幕截图

[⌊Frontend coupon display with copy button⌉⌊Frontend coupon display with copy button⌉[

Frontend coupon display with copy button

[⌊Style settings page in WordPress admin⌉⌊Style settings page in WordPress admin⌉[

Style settings page in WordPress admin

[⌊"Insert Coupon" button in the editor toolbar⌉⌊"Insert Coupon" button in the editor
toolbar⌉[

“Insert Coupon” button in the editor toolbar

## 安装

#### Automatic Installation

 1. In WordPress admin, go to Plugins -> Add New.
 2. Search for “LeCoupon Copy”.
 3. Click Install Now and activate the plugin.

#### Manual Installation

 1. Download and extract the plugin package.
 2. Upload the `lecouponcopy` folder to `/wp-content/plugins/`.
 3. Activate “LeCoupon Copy” from the Plugins page.

#### After Activation

 1. Go to Settings -> Coupon Copy and adjust styles as needed.
 2. Insert `[le_coupon_copy code="YOURCODE"]` in a post or page, or use the editor 
    toolbar button.

## 常见问题

### 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 `url` parameter in the shortcode, for example: `[le_coupon_copy code="ABC"
url="https://example.com"]`.

## 评价

此插件暂无评价。

## 贡献者及开发者

「lecouponcopy」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ 老蒋和他的小伙伴 ](https://profiles.wordpress.org/laobuluo/)

[帮助将「lecouponcopy」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/lecouponcopy)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/lecouponcopy/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/lecouponcopy/)，或通过[RSS](https://plugins.trac.wordpress.org/log/lecouponcopy/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/lecouponcopy/)。

## 更新日志

#### 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 with `code`, `text`, and `url` parameters
 * Added TinyMCE insert button for Classic Editor
 * Added Quicktags button in text mode
 * Added style settings for text, button, border colors, and font sizes

## 额外信息

 *  版本 **1.2.1**
 *  最后更新：**1 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.1 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/lecouponcopy/)
 * 标签
 * [coupon](https://cn.wordpress.org/plugins/tags/coupon/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/lecouponcopy/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/lecouponcopy/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/lecouponcopy/reviews/)

## 贡献者

 *   [ 老蒋和他的小伙伴 ](https://profiles.wordpress.org/laobuluo/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/lecouponcopy/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.lezaiyun.com/donate/)