| 开发者 | jrobie23 |
|---|---|
| 更新时间 | 2026年10月6日 04:27 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
mad-cow-product-badges-for-woocommerce folder to /wp-content/plugins/, or install through the Plugins screen.Yes. Every badge is evaluated independently, so a product can carry several at once. Give them different corner positions so they do not overlap.
Only if you want it to. The Default Sale Badge setting has three options: always show WooCommerce's flash, hide it everywhere, or hide it only on products where one of your badges is showing. The last option is usually what you want, since it leaves the built-in flash doing its job on products you have not badged.
Yes, both. They render in the shop and archive loops and on single product pages.
By the product's publish date, against a number of days you set on the badge. A product published inside that window gets the badge.
Yes. Add your own CSS class to the badge and target it from your theme stylesheet.
Two. mcwspb_should_show_badge decides whether a badge displays, and mcwspb_badge_html filters the markup before output.
mcwspb_badge_html filter is now escaped at output with wp_kses_post().