Documentation

Usage

Coupons are displayed with short code syntax.

[coupon title="10% Off" url="http://example.com" code="10disc" image="http://placehold.it/150x250"]

Attributes

Name Description Default Example Values
title Title My Title 10% Off Sitewide
description Description  none Only Applies to sale items.
url URL to visit upon click  none “http://www.youraffiliatelink.com”
type Coupon Code, Sale, code  code OR sale
image Path of image to display  none http://placehold.it/150×150
button Customize button text Reveal Code Access Deal!
theme Button Color gray “base blue”, “base red”
hide_button Specify to hide button false true, false
reveal Leave coupon code revealed or not false true, false
shows_at Coupon will start showing after this date  none July 7, 2015, August 2015
expires_at Coupon will not show after this date  none July 14, 2015, Sep 2015
time_zone Specify the time zone (http://php.net/manual/en/timezones.php) America/Los_Angeles  America/Los_Angeles

Not all attributes are required to use the coupon functionality, these are all optional.

Themes, (Button Colors)

[coupon ... theme="base blue"]

OR

[coupon ... theme="base red"]

To change button color use the available terms below: 

Available Themes
base blue
base green
base orange
base purple
base red
base yellow

 

Example of Base Blue:

10% Off

Minimum purchase of $10.

10% Off

Minimum purchase of $10.

Example with no image:

10% Off

Example of Coupon with NO Image Displayed

10% Off

Example of Coupon with NO Image Displayed

Example:

[coupon title="TITLE" url="URL" description="DESCRIPTION" code="CODE" image="LOGO URL" theme="base blue"]

 

TITLE

DESCRIPTION

TITLE

DESCRIPTION

Leave A Response

* Denotes Required Field