![Dispensary Coupons] (http://www.robertdevore.com/wp-content/uploads/2016/03/dispensary-coupons-github.jpg)

The Dispensary Coupons plugin is an official add-on for the [WP Dispensary](http://www.wpdispensary.com) menu management plugin.

With this plugin you can add coupons to your website and show them off with a shortcode or widget.

When adding new coupons to your website, you'll be able to select what items in your dispensary menu the coupon is good for, and this information will be added to the coupon display.

**Requirements**

Although not required, Dispensary Coupons was built with the [WP Dispensary](http://www.wpdispensary.com) plugin to be installed and activated in order utilize the added functionality for websites that are running the WPD plugin.

If you do not have WP Dispensary installed, don't worry because Dispensary Coupons will still let you add coupons and display them on your website, without any mention of the WPD plugin whatsoever.

**Shortcode**

You can display your dispensary coupons by adding the following shortcode:

`[wpd-coupons]`

Here is the shortcode with all options included:

`[wpd-coupons limit="5" image="yes" title="yes" details="yes" products="yes"]`

If you'd like to hide the title, details or products, you can change **yes** to **no** in the shortcode example above.

**Contribute**

Want to help this plugin get better? Issues and pull requests are more than welcomed :)

## Screenshots

**Dispensary Coupons in the dashboard menu**

![Post Type](http://www.robertdevore.com/wp-content/uploads/2016/04/screenshot-1.jpg)

**An example of how the widget displays the coupons**

![Widget Display](http://www.robertdevore.com/wp-content/uploads/2016/04/screenshot-2.jpg)

**The widget editor in the WordPress dashboard**

![Widget Editor](http://www.robertdevore.com/wp-content/uploads/2016/04/screenshot-3.jpg)

**Metaboxes on the Dispensary Coupon editor screen**

![WPD Metaboxes](http://www.wpdispensary.com/wp-content/uploads/2016/04/screenshot-4.jpg)

## Changelog

[view CHANGELOG.md](https://github.com/deviodigital/dispensary-coupons/blob/master/CHANGELOG.md)