There are two different types of shortcodes you can use with the WP Coupon’s plugin. Below are examples.

Coupon’s Archive Shortcode

The first shortcode you can use is the one show in the Shortcode 1 Demo. This shortcode allows you to display the archive template for your coupons. Simply use the following on any page or post.

25% OFF
WOORKUPCopy
mythemeshop coupon

MyThemeShop Coupon

MyThemeShop builds the fastest WordPress themes on the market!

ThemesView This Deal
15% OFF
social warfare discount

Social Warfare Discount

A lightweight and blazing fast social media sharing plugin for your WordPress site.

PluginsView This Deal
10% OFF
kwfinder coupon

KWFinder Discount

A fast and super accurate keyword research tool. Great for SEOs and internet marketers.

ServicesView This Deal
15% OFF
WOORKUPCopy
wprichsnippets discount

WPRichSnippets Discount

Best plugin to add schema structured markup to your WordPress site.

PluginsView This Deal
$10 Free Credits
keycdn discount

KeyCDN Discount

Supercharge your WordPress site! Get $10 / 250GB in Free Credits.

CDNsView This Deal
10 Free Images
WOORKUP10Copy
99club coupon

99Club Coupon

The best stock photo library on the web, images as low as $0.49!

ServicesView This Deal
$10 Credit
accuranker discount

AccuRanker Discount

One of the best SERP trackers. Powerful filters, instant checking, and no limits.

ServicesView This Deal
10% OFF
gravity forms discount

Gravity Forms Discount

The best WordPress contact form plugin on the web! No captcha, no spam.

PluginsView This Deal
30% OFF Reoccurring
WOORKUPCopy
wphostingspot coupon

WPHostingSpot Coupon

Best Managed WordPress host. Nginx, PHP7, HTTP/2, Free SSL, and Free CDN!

HostingView This Deal

Individual Coupon Shortcode

You can also grab the individual shortcode for each coupon itself, as shown in Shortcode 2 Demo.

Step 1

Click into one of your coupons to edit it, and at the bottom you will see that it generates a unique shortcode for it.

shortcode wp coupons

You can also add additional information, such as this example.

  • limit – The maximum number of posts to display per page. Not Required, Default: 9
  • type – The coupon type you wish to display. This will cause the shortcode to only pull in coupons from that type. Will also filter the nav type elements to match the given type. Not Required.
  • tag – The coupon tag you wish to display. This will cause the shortcode to only pull in coupons that have the given tag. Not Required
  • nav – If set to ‘false’, this will hide the primary coupon type navigation. Not Required, Default: true

Step 2

Simply use that shortcode on any page or post. See example below.

$10 Free Credits
keycdn discount
KeyCDN Discount
Supercharge your WordPress site! Get $10 / 250GB in Free Credits.
View This Deal
  • id – The id of the coupon post that you want to display. Required

And this is what it outputs.

$10 Free Credits
keycdn discount
KeyCDN Discount
Supercharge your WordPress site! Get $10 / 250GB in Free Credits.
View This Deal

Was this article helpful?

Related Articles