{"id":43247,"date":"2016-04-19T15:39:45","date_gmt":"2016-04-19T15:39:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/dispensary-coupons\/"},"modified":"2019-11-26T23:04:08","modified_gmt":"2019-11-26T23:04:08","slug":"dispensary-coupons","status":"closed","type":"plugin","link":"https:\/\/ug.wordpress.org\/plugins\/dispensary-coupons\/","author":14536727,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0","stable_tag":"2.0","tested":"5.3.23","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"WP Dispensary's Coupons","header_author":"WP Dispensary","header_description":"","assets_banners_color":"070e04","last_updated":"2019-11-26 23:04:08","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.wpdispensary.com\/","header_author_uri":"https:\/\/www.wpdispensary.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3744,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1683064","resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"2195872","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2","1.3","1.4","1.5","1.5.1","1.5.2","1.6","1.7","1.8","1.8.1","1.9","1.9.1","2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"2201666","resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"2201666","resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"2201666","resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"2201666","resolution":"4","location":"assets","locale":""},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":"2201666","resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"An example of how the shortcode displays the coupons","2":"Coupons in the admin dashboard menu","3":"An example of the Edit Coupon screen","4":"The widget editor in the WordPress dashboard","5":"An example of how the widget displays the coupons"}},"plugin_section":[],"plugin_tags":[24021,24020,5629,24023,24022],"plugin_category":[45],"plugin_contributors":[90647,156816],"plugin_business_model":[],"class_list":["post-43247","plugin","type-plugin","status-closed","hentry","plugin_tags-cannabis","plugin_tags-dispensary","plugin_tags-marijuana","plugin_tags-mmj","plugin_tags-wp-dispensary","plugin_category-ecommerce","plugin_contributors-deviodigital","plugin_contributors-wpdispensary","plugin_committers-deviodigital"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/dispensary-coupons_070e04.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/dispensary-coupons\/assets\/screenshot-1.jpg?rev=2201666","caption":"An example of how the shortcode displays the coupons"},{"src":"https:\/\/ps.w.org\/dispensary-coupons\/assets\/screenshot-2.jpg?rev=2201666","caption":"Coupons in the admin dashboard menu"},{"src":"https:\/\/ps.w.org\/dispensary-coupons\/assets\/screenshot-3.jpg?rev=2201666","caption":"An example of the Edit Coupon screen"},{"src":"https:\/\/ps.w.org\/dispensary-coupons\/assets\/screenshot-4.jpg?rev=2201666","caption":"The widget editor in the WordPress dashboard"},{"src":"https:\/\/ps.w.org\/dispensary-coupons\/assets\/screenshot-5.jpg?rev=2201666","caption":"An example of how the widget displays the coupons"}],"raw_content":"<!--section=description-->\n<p>The Dispensary Coupons plugin is an official add-on for the <a href=\"https:\/\/www.wpdispensary.com\">WP Dispensary<\/a> menu management plugin.<\/p>\n\n<p>With this plugin installed, you can add coupons to your website and show them off via the included shortcode and widget.<\/p>\n\n<p>This plugin also extends the <a href=\"https:\/\/www.wpdispensary.com\/product\/ecommerce\/\">eCommerce<\/a> add-on for WP Dispensary, allowing customers to use the coupon codes when placing orders.<\/p>\n\n<p><strong>Requirements<\/strong><\/p>\n\n<p>Dispensary Coupons was built with the <a href=\"https:\/\/www.wpdispensary.com\">WP Dispensary<\/a> plugin to be installed and activated in order utilize the added functionality for websites that are running the WPD plugin.<\/p>\n\n<p><strong>Shortcode<\/strong><\/p>\n\n<p>You can display your dispensary coupons by adding the following shortcode:<\/p>\n\n<pre><code>[wpd-coupons]\n<\/code><\/pre>\n\n<p>Here is the shortcode with all options included:<\/p>\n\n<pre><code>[wpd-coupons limit=\"5\" image=\"yes\" imagesize=\"medium\" title=\"yes\" couponexp=\"yes\" details=\"yes\" products=\"yes\"]\n<\/code><\/pre>\n\n<p>If you'd like to hide any of the included details, you can change <strong>yes<\/strong> to <strong>no<\/strong> in the shortcode attributes from the above example.<\/p>\n\n<p><strong>Widget<\/strong><\/p>\n\n<p>You can also display your coupons by adding the included Dispensary Coupons widget to your sidebar, as seen in the example screenshots below.<\/p>\n\n<p><strong>Contribute<\/strong><\/p>\n\n<p>Want to help this plugin get better? Head over to <a href=\"https:\/\/github.com\/wpdispensary\/dispensary-coupons\">Github<\/a> and open an issue or submit a pull request.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>dispensary-coupons<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory or add it directly through your WordPress admin dashboard<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.0<\/h4>\n\n<ul>\n<li>Added coupon code, amount and exp date to widget in <code>dispensary-coupons.php<\/code><\/li>\n<li>Added coupon code, amount and exp date to shortcode in <code>dispensary-coupons.php<\/code><\/li>\n<li>Added multiple style updates for the widget and shortcode in <code>assets\/css\/style.css<\/code><\/li>\n<li>Updated admin widget description text in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated <code>.pot<\/code> file with new text strings for localization in <code>languages\/wpd-coupons.pot<\/code><\/li>\n<li>WordPress Coding Standards updates in <code>dispensary-coupons.php<\/code><\/li>\n<\/ul>\n\n<h4>1.9.1<\/h4>\n\n<ul>\n<li>Bugfix added missing helper functions file in <code>inc\/dispensary-coupons-helper-functions.php<\/code><\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Added <code>Gear<\/code> and <code>Tinctures<\/code> metaboxes to the Coupons post type in <code>dispensary-coupons.php<\/code><\/li>\n<li>Added <code>Gear<\/code> and <code>Tinctures<\/code> menu types to coupons widget in <code>dispensary-coupons.php<\/code><\/li>\n<li>Added coupons to WP Dispensary's <code>Gear<\/code> and <code>Tinctures<\/code> pricing tables in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated coupon output in the pricing table to colspan 7 in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated <code>.pot<\/code> file with new text strings for localization in <code>languages\/wpd-coupons.pot<\/code><\/li>\n<li>WordPress Coding Standards updates in <code>dispensary-coupons.php<\/code><\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<ul>\n<li>Updated post type to support the new Gutenberg editor in WordPress 5.0+ in <code>dispensary-coupons.php<\/code><\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>Added <code>global $post<\/code> to updated messages function in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated function names to be uniform with other WPD plugins in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated variable names to match other WPD plugins in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated Coupons CPT <code>$args<\/code> to remove from search results in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated <code>Coupon Details<\/code> metabox location to main column under title in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated text strings for localization in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated <code>.pot<\/code> file with new text strings for localization in <code>languages\/wpd-coupons.pot<\/code><\/li>\n<li>WordPress Coding Standards updates in <code>dispensary-coupons.php<\/code><\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Updated text for admin <code>post_updated_messages<\/code> in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated Coupons post type to no longer be publicly queryable in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated Coupons post type to no longer support the editor in <code>dispensary-coupons.php<\/code><\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added permalink settings Classs for <code>coupons<\/code> base in <code>inc\/class-dispensary-coupons-permalinks.php<\/code><\/li>\n<li>Added permalink settings option for <code>coupons<\/code> base in <code>dispensary-coupons.php<\/code><\/li>\n<li>Updated permalink base codes for <code>coupons<\/code> custom post type in <code>dispensary-coupons.php<\/code><\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Added <code>Coupons Details<\/code> metabox with <code>wpd_coupon_code<\/code>, <code>wpd_coupon_amount<\/code>, <code>wpd_coupon_type<\/code> and <code>wpd_coupon_exp<\/code> options<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Updated admin submenu order number<\/li>\n<li>Updated  Coupons text in Pricing table<\/li>\n<li>Updated the default widget title<\/li>\n<li>General code clean up for easier reading<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Updated <code>Coupons<\/code> menu placement to be a sub-menu under WP Dispensary <strong>requires version 1.9.8+ of WP Dispensary<\/strong><\/li>\n<li>Updated widget title size from <code>h3<\/code> to <code>strong<\/code> to make the text more uniformly sized.<\/li>\n<li>Updated the widget name to \"WP Dispensary's Coupons\"<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added action hook to display coupons on single menu items pages (action hooks added to WP Dispensary in <a href=\"http:\/\/www.wpdispensary.com\/wp-dispensary-version-1-8\/\">WP Dispensary 1.8<\/a>)<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added option to select an item from the Growers menu type that was added in <a href=\"https:\/\/www.wpdispensary.com\/wp-dispensary-version-1-7\/\">WP Dispensary 1.7<\/a><\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added new shortcode and widget options to show or hide the featured image of your dispensary coupon<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Added missing shortcode support for new Topicals menu type in <a href=\"https:\/\/www.wpdispensary.com\/wp-dispensary-version-1-4\/\">WP Dispensary 1.4<\/a><\/li>\n<li>Updated CSS for <code>wpd-coupons-plugin-meta<\/code> class in <code>css\/style.css<\/code><\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added support for new Topicals menu type in <a href=\"https:\/\/www.wpdispensary.com\/wp-dispensary-version-1-4\/\">WP Dispensary 1.4<\/a><\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Stable release<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Easily add and display coupons for your marijuana dispensary.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/43247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=43247"}],"author":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/deviodigital"}],"wp:attachment":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=43247"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=43247"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=43247"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=43247"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=43247"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=43247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}