Title: Simple Promo Code
Author: Peter Wooster
Published: <strong>2012 年 2 月 14 日</strong>
Last modified: 2013 年 12 月 16 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/simple-promo-code.svg)

# Simple Promo Code

 作者：[Peter Wooster](https://profiles.wordpress.org/pkwooster/)

[下载](https://downloads.wordpress.org/plugin/simple-promo-code.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/simple-promo-code/)

## 描述

This plugin allows editors to request a promo code and optional email address from
users to get access to a document and track its usage.

_Features for Editors_

 * a short code [promo] is provided that will display a form that requests a
    promo
   code and optionally an email address from your users and then takes them to a
   url.
 * a summary of the accesses using this code is displayed to editors by the short
   code
 * editors can clear the logging from the short code
 * there is no back end admin page

_Short Code Arguments are:_

 * code= a string that must be entered access the document, required
 * document= a url to the document that you want to track, required
 * name= the name to display for the document, required
 * email= ‘yes’ to request the user’s email
 * id= the id on the form tag, useful for CSS, default is ‘promo’
 * promolabel= the label for the promo code input field, default is ‘Please enter
   promo code for name’
 * emaillabel= the label for the email input field, default is ‘Please enter your
   email address’
 * liststyle= the style or class for the ul, default is ‘style=”list-style:none”‘

## 安装

 1. Use the Plugins, Add New menu in WordPress to install the plugin or upload the `
    simple-promo-code` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. add the [promo] short code where required

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Peter Wooster ](https://profiles.wordpress.org/pkwooster/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1

 * Test for WordPress 3.8 – new wp-admin interface

#### 1.0

 * First release.

#### 1.0.1

 * Update readme

## 额外信息

 *  版本 **1.1**
 *  最后更新：**12 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.7.41**
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-promo-code/)
 * 标签
 * [promo](https://cn.wordpress.org/plugins/tags/promo/)[short code](https://cn.wordpress.org/plugins/tags/short-code/)
   [tracking](https://cn.wordpress.org/plugins/tags/tracking/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-promo-code/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/simple-promo-code/reviews/)

## 贡献者

 *   [ Peter Wooster ](https://profiles.wordpress.org/pkwooster/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/simple-promo-code/)