| 开发者 |
wpdispensary
deviodigital |
|---|---|
| 更新时间 | 2019年11月27日 07:03 |
| PHP版本: | 3.0 及以上 |
| WordPress版本: | 5.3 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[wpd-coupons]
Here is the shortcode with all options included:
[wpd-coupons limit="5" image="yes" imagesize="medium" title="yes" couponexp="yes" details="yes" products="yes"]
If you'd like to hide any of the included details, you can change yes to no in the shortcode attributes from the above example.
Widget
You can also display your coupons by adding the included Dispensary Coupons widget to your sidebar, as seen in the example screenshots below.
Contribute
Want to help this plugin get better? Head over to Github and open an issue or submit a pull request.
dispensary-coupons folder to the /wp-content/plugins/ directory or add it directly through your WordPress admin dashboardPlugins menu in WordPressdispensary-coupons.phpdispensary-coupons.phpassets/css/style.cssdispensary-coupons.php.pot file with new text strings for localization in languages/wpd-coupons.potdispensary-coupons.phpinc/dispensary-coupons-helper-functions.phpGear and Tinctures metaboxes to the Coupons post type in dispensary-coupons.phpGear and Tinctures menu types to coupons widget in dispensary-coupons.phpGear and Tinctures pricing tables in dispensary-coupons.phpdispensary-coupons.php.pot file with new text strings for localization in languages/wpd-coupons.potdispensary-coupons.phpdispensary-coupons.phpglobal $post to updated messages function in dispensary-coupons.phpdispensary-coupons.phpdispensary-coupons.php$args to remove from search results in dispensary-coupons.phpCoupon Details metabox location to main column under title in dispensary-coupons.phpdispensary-coupons.php.pot file with new text strings for localization in languages/wpd-coupons.potdispensary-coupons.phppost_updated_messages in dispensary-coupons.phpdispensary-coupons.phpdispensary-coupons.phpcoupons base in inc/class-dispensary-coupons-permalinks.phpcoupons base in dispensary-coupons.phpcoupons custom post type in dispensary-coupons.phpCoupons Details metabox with wpd_coupon_code, wpd_coupon_amount, wpd_coupon_type and wpd_coupon_exp optionsCoupons menu placement to be a sub-menu under WP Dispensary requires version 1.9.8+ of WP Dispensaryh3 to strong to make the text more uniformly sized.wpd-coupons-plugin-meta class in css/style.css