Create coupons to display on your site by using a shortcode.
Create your own coupon with the Coupon Creator for WordPress or upload an image of a coupon instead.
Create a coupon by going to the coupon custom post type and filling in all the settings in the custom meta box.
Insert the coupon into a post or page using the shortcode inserter above the content Editor.
Coupon displays until the expiration date chosen by you or you can check the Ignore Expiration Checkbox and the coupon will display on the site past the expiration date or with no date at all.
The Coupon Shortcode: [coupon couponid="xx" category="Category Name(optional)" coupon_align="cctor_aligncenter" name="Coupon Name"]
Manually replace fields in shortcode:
couponid - replace xx with ID of Coupon custom post
couponalign - align coupon options: cctor_aligncenter, cctor_alignnone, cctor_alignleft, and cctor_alignright
name -optional and for your reference only
Set couponid to "loop" to display all coupons. (couponid="loop")
All the coupons in the loop will use the same couponalign.
Assign categories to a coupon and with the loop option only display coupons from a specific category.
category - add the category name to display coupons only from it
For example if you have a category called "Coupon Home Page", call it by:
category="Coupon Home Page"
Above the post editor click the "Add Coupon" button to open the inserter.
Select an individual coupon or coupon loop.
If you select the coupon loop, an option will appear to select a coupon category for the loop or you can leave it blank for all coupons (default).
The third option to select is the couponalign.
Once you have all the options selected, press "Insert Coupon" to insert the shortcode into the editor.
Find examples of coupons on the Coupon Creator Home Page
Coupons will work in Sidebar Text Widgets, but you must add
To your theme's function.php
Requires: 3.6 or higher
Compatible up to: 3.8.1
Last Updated: 2014-3-5
2 of 4 support threads in the last two months have been resolved.
Got something to say? Need help?