| 开发者 | couponthemes |
|---|---|
| 更新时间 | 2026年6月23日 11:20 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
affcoupon folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress Plugins screen directly.After installing the plugin, go to Coupons -> Add New Coupon and create your coupon. Then open any post or page in the editor and click the Add Coupon button next to the Add Media button. A window pops up with a list of all your added coupons - pick the coupon you want, choose the shortcode type, and click Insert Coupon Shortcode. The shortcode is inserted with the corresponding ID; save the post and you're done.
Yes - AMP support is included for all coupon shortcodes.
Yes. The plugin ships with a widget that displays coupons and deals in any widget area.
You can copy the shortcode from the Coupons list page, or insert it directly from the post editor using the Add Coupon button.
[affcoupon_btn] coupon-code button rendered twice due to a duplicated render hook; it now renders once.wp_strip_all_tags()) when added via wp_add_inline_style().revision request value; the revision title is derived from the post's own revisions.current_user_can() capability before any request data is processed.affcoupon_taxonomy_term_*).wp_enqueue_style() instead of a raw <link> tag.affcoupon). Renamed all internal wpcd_* identifiers to AffCoupon-owned prefixes.