开发者 |
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.php
dispensary-coupons.php
assets/css/style.css
dispensary-coupons.php
.pot
file with new text strings for localization in languages/wpd-coupons.pot
dispensary-coupons.php
inc/dispensary-coupons-helper-functions.php
Gear
and Tinctures
metaboxes to the Coupons post type in dispensary-coupons.php
Gear
and Tinctures
menu types to coupons widget in dispensary-coupons.php
Gear
and Tinctures
pricing tables in dispensary-coupons.php
dispensary-coupons.php
.pot
file with new text strings for localization in languages/wpd-coupons.pot
dispensary-coupons.php
dispensary-coupons.php
global $post
to updated messages function in dispensary-coupons.php
dispensary-coupons.php
dispensary-coupons.php
$args
to remove from search results in dispensary-coupons.php
Coupon Details
metabox location to main column under title in dispensary-coupons.php
dispensary-coupons.php
.pot
file with new text strings for localization in languages/wpd-coupons.pot
dispensary-coupons.php
post_updated_messages
in dispensary-coupons.php
dispensary-coupons.php
dispensary-coupons.php
coupons
base in inc/class-dispensary-coupons-permalinks.php
coupons
base in dispensary-coupons.php
coupons
custom post type in dispensary-coupons.php
Coupons 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