开发者 | Mike_Oberdick |
---|---|
更新时间 | 2016年3月31日 10:04 |
PHP版本: | 3.5 及以上 |
WordPress版本: | 4.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
wc-simple-product-badge
to the /wp-content/plugins/wc-simple-product-badge
directory or install the plugin through the WordPress plugins screen.Out of the box, there are only a few styles applied to the badge using the 'wc_simple_product_badge' class. If you'd like to add to those styles you can create your own css rules using that class or use your own class by adding it using the "Badge Class" field.
Include the number of days that you'd like to display the badge in the custom field titled "Duration" within the product details. Please note that the duration timeframe is based off of the date and time that the product was published.