Dispensary Coupons

Description

The Dispensary Coupons plugin is an official add-on for the WP Dispensary 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

Dispensary Coupons was built with the WP Dispensary plugin to be installed and activated in order utilize the added functionality for websites that are running the WPD plugin.

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, products or image, you can change yes to no in the shortcode example above.

Contribute

Want to help this plugin get better? Head over to Github and open an issue or submit a pull request.

Screenshots

  • Dispensary Coupons in the dashboard menu
  • An example of how the widget displays the coupons
  • The widget editor in the WordPress dashboard
  • The metaboxes that show on the Dispensary Coupon editor screen

Installation

  1. Upload the dispensary-coupons folder to the /wp-content/plugins/ directory or add it directly through your WordPress admin dashboard
  2. Activate the plugin through the Plugins menu in WordPress

Contributors & Developers

“Dispensary Coupons” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Dispensary Coupons” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.7

  • Updated text for admin post_updated_messages in dispensary-coupons.php
  • Updated Coupons post type to no longer be publicly queryable in dispensary-coupons.php
  • Updated Coupons post type to no longer support the editor in dispensary-coupons.php

1.6

  • Added permalink settings Classs for coupons base in inc/class-dispensary-coupons-permalinks.php
  • Added permalink settings option for coupons base in dispensary-coupons.php
  • Updated permalink base codes for coupons custom post type in dispensary-coupons.php

1.5.2

  • Added Coupons Details metabox with wpd_coupon_code, wpd_coupon_amount, wpd_coupon_type and wpd_coupon_exp options

1.5.1

  • Updated admin submenu order number
  • Updated Coupons text in Pricing table
  • Updated the default widget title
  • General code clean up for easier reading

1.5

  • Updated Coupons menu placement to be a sub-menu under WP Dispensary requires version 1.9.8+ of WP Dispensary
  • Updated widget title size from h3 to strong to make the text more uniformly sized.
  • Updated the widget name to “WP Dispensary’s Coupons”

1.4

  • Added action hook to display coupons on single menu items pages (action hooks added to WP Dispensary in WP Dispensary 1.8)

1.3

  • Added option to select an item from the Growers menu type that was added in WP Dispensary 1.7

1.2

  • Added new shortcode and widget options to show or hide the featured image of your dispensary coupon

1.1.1

  • Added missing shortcode support for new Topicals menu type in WP Dispensary 1.4
  • Updated CSS for wpd-coupons-plugin-meta class in css/style.css

1.1.0

1.0

  • Stable release

0.1.0

  • Initial release