Title: lecouponcopy
Author: 老蒋和他的小伙伴
Published: <strong>June 9, 2026</strong>
Last modified: June 9, 2026

---

Search plugins

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

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

# lecouponcopy

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

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

 * [Details](https://wordpress.org/plugins/lecouponcopy/#description)
 * [Reviews](https://wordpress.org/plugins/lecouponcopy/#reviews)
 *  [Installation](https://wordpress.org/plugins/lecouponcopy/#installation)
 * [Development](https://wordpress.org/plugins/lecouponcopy/#developers)

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

## Description

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)

## Screenshots

[⌊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

## Installation

#### 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.

## FAQ

### 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"]`.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“lecouponcopy” is open source software. The following people have contributed to
this plugin.

Contributors

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

[Translate “lecouponcopy” into your language.](https://translate.wordpress.org/projects/wp-plugins/lecouponcopy)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lecouponcopy/), check
out the [SVN repository](https://plugins.svn.wordpress.org/lecouponcopy/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/lecouponcopy/) by
[RSS](https://plugins.trac.wordpress.org/log/lecouponcopy/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Version **1.2.1**
 *  Last updated **22 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.1 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [coupon](https://wordpress.org/plugins/tags/coupon/)[shortcode](https://wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://wordpress.org/plugins/lecouponcopy/advanced/)

## Ratings

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/lecouponcopy/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lecouponcopy/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.lezaiyun.com/donate/)