-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
433bce9
commit 9526b9e
Showing
7 changed files
with
1,701 additions
and
1,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
# Changelog | ||
|
||
### 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](http://www.wpdispensary.com/wp-dispensary-version-1-4/) | ||
* Updated CSS for `wpd-coupons-plugin-meta` class in `css/style.css` | ||
|
||
### 1.1.0 | ||
* Added support for new Topicals menu type in [WP Dispensary 1.4](http://www.wpdispensary.com/wp-dispensary-version-1-4/) | ||
|
||
### 1.0 | ||
* Stable release | ||
|
||
### 0.1 | ||
* Initial release | ||
# Changelog | ||
|
||
### 1.3 | ||
* Added option to select an item from the Growers menu type that was added in [WP Dispensary 1.7](http://www.wpdispensary.com/wp-dispensary-version-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](http://www.wpdispensary.com/wp-dispensary-version-1-4/) | ||
* Updated CSS for `wpd-coupons-plugin-meta` class in `css/style.css` | ||
|
||
### 1.1.0 | ||
* Added support for new Topicals menu type in [WP Dispensary 1.4](http://www.wpdispensary.com/wp-dispensary-version-1-4/) | ||
|
||
### 1.0 | ||
* Stable release | ||
|
||
### 0.1 | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,51 @@ | ||
![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 | ||
|
||
![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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
/** | ||
* DispensaryCoupons admin CSS | ||
* | ||
* @package DispensaryCoupons\CSS | ||
* @since 1.0.0 | ||
*/ | ||
|
||
|
||
/* Leafly Specials admin | ||
-------------------------------------------------------------- */ | ||
|
||
div.widget[id*=_wpdcoupons_] .widget-top, | ||
div.widget[id*=_wpdcoupons_] .widget-top:hover { | ||
border-color: #d44729; | ||
} | ||
|
||
div.widget[id*=_wpdcoupons_] .widget-title, | ||
div.widget[id*=_wpdcoupons_] .widget-title h3 { | ||
background: #d44729; | ||
color: #FFF; | ||
} | ||
|
||
div.widget[id*=_wpdcoupons_] .widget-title .in-widget-title { | ||
color: rgba(255,255,255,0.6); | ||
} | ||
|
||
div.widget[id*=_wpdcoupons_] .widget-action { | ||
color: #FFF; | ||
/** | ||
* DispensaryCoupons admin CSS | ||
* | ||
* @package DispensaryCoupons\CSS | ||
* @since 1.0.0 | ||
*/ | ||
|
||
|
||
/* Leafly Specials admin | ||
-------------------------------------------------------------- */ | ||
|
||
div.widget[id*=_wpdcoupons_] .widget-top, | ||
div.widget[id*=_wpdcoupons_] .widget-top:hover { | ||
border-color: #d44729; | ||
} | ||
|
||
div.widget[id*=_wpdcoupons_] .widget-title, | ||
div.widget[id*=_wpdcoupons_] .widget-title h3 { | ||
background: #d44729; | ||
color: #FFF; | ||
} | ||
|
||
div.widget[id*=_wpdcoupons_] .widget-title .in-widget-title { | ||
color: rgba(255,255,255,0.6); | ||
} | ||
|
||
div.widget[id*=_wpdcoupons_] .widget-action { | ||
color: #FFF; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
/** | ||
* DispensaryCoupons CSS | ||
* | ||
* @package DispensaryCoupons\CSS | ||
* @since 1.0.0 | ||
*/ | ||
|
||
|
||
/* Dispensary Coupons widget | ||
-------------------------------------------------------------- */ | ||
|
||
.wpd-coupons-plugin-meta { | ||
border: 2px dashed #eee; | ||
display: inline-block; | ||
margin: 0 0 12px 0; | ||
padding: 6px 12px; | ||
position: relative; | ||
width: 100%; | ||
} | ||
|
||
.wpd-coupons-plugin-meta h3, | ||
.wpd-coupons-plugin-meta p { | ||
margin: 6px 0 !important; | ||
padding: 0 !important; | ||
} | ||
|
||
.wpd-coupons-plugin-meta-item.fineprint { | ||
color: #ccc; | ||
} | ||
|
||
.wpd-coupons-plugin-meta img { | ||
margin: 6px 0; | ||
} | ||
|
||
.wpd-coupons-plugin-meta.shortcode img { | ||
float: right; | ||
margin: 6px 0 6px 12px; | ||
} | ||
/** | ||
* DispensaryCoupons CSS | ||
* | ||
* @package DispensaryCoupons\CSS | ||
* @since 1.0.0 | ||
*/ | ||
|
||
|
||
/* Dispensary Coupons widget | ||
-------------------------------------------------------------- */ | ||
|
||
.wpd-coupons-plugin-meta { | ||
border: 2px dashed #eee; | ||
display: inline-block; | ||
margin: 0 0 12px 0; | ||
padding: 6px 12px; | ||
position: relative; | ||
width: 100%; | ||
} | ||
|
||
.wpd-coupons-plugin-meta h3, | ||
.wpd-coupons-plugin-meta p { | ||
margin: 6px 0 !important; | ||
padding: 0 !important; | ||
} | ||
|
||
.wpd-coupons-plugin-meta-item.fineprint { | ||
color: #ccc; | ||
} | ||
|
||
.wpd-coupons-plugin-meta img { | ||
margin: 6px 0; | ||
} | ||
|
||
.wpd-coupons-plugin-meta.shortcode img { | ||
float: right; | ||
margin: 6px 0 6px 12px; | ||
} |
Oops, something went wrong.