Skip to content

nelsonbud/dispensary-coupons

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dispensary Coupons, a WP Dispensary add-on

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 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

An example of how the widget displays the coupons

Widget Display

The widget editor in the WordPress dashboard

Widget Editor

Metaboxes on the Dispensary Coupon editor screen

WPD Metaboxes

Changelog

view CHANGELOG.md

Packages

No packages published

Languages

  • PHP 95.9%
  • CSS 4.1%