{"id":121139,"date":"2020-05-05T17:13:41","date_gmt":"2020-05-05T17:13:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/badges-woo\/"},"modified":"2026-03-14T23:14:35","modified_gmt":"2026-03-14T23:14:35","slug":"badges-woo","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/badges-woo\/","author":14368605,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"1.2.1","tested":"6.9.4","requires":"5.0","requires_php":"8.0","requires_plugins":null,"header_name":"Badges Woo","header_author":"Daniel Riera","header_description":"Show badges for each product on your store","assets_banners_color":"f2f5f8","last_updated":"2026-03-14 23:14:35","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate\/?hosted_button_id=EZ67DG78KMXWQ","header_plugin_uri":"","header_author_uri":"https:\/\/danielriera.net","rating":5,"author_block_rating":0,"active_installs":100,"downloads":12348,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"taxarpro","date":"2020-05-05 17:14:04"},"1.0.1":{"tag":"1.0.1","author":"taxarpro","date":"2020-05-06 10:01:25"},"1.0.2":{"tag":"1.0.2","author":"taxarpro","date":"2020-05-07 09:35:19"},"1.0.3":{"tag":"1.0.3","author":"taxarpro","date":"2020-05-07 11:21:53"},"1.0.4":{"tag":"1.0.4","author":"taxarpro","date":"2020-05-08 13:19:34"},"1.0.5":{"tag":"1.0.5","author":"taxarpro","date":"2020-05-09 14:23:06"},"1.0.6":{"tag":"1.0.6","author":"taxarpro","date":"2020-05-12 10:41:13"},"1.0.7":{"tag":"1.0.7","author":"taxarpro","date":"2020-06-18 17:31:35"},"1.0.8":{"tag":"1.0.8","author":"taxarpro","date":"2020-06-18 17:36:12"},"1.0.9.1":{"tag":"1.0.9.1","author":"DanielRiera","date":"2021-05-24 20:48:30"},"1.1.0":{"tag":"1.1.0","author":"DanielRiera","date":"2022-08-27 22:38:37"},"1.2.0":{"tag":"1.2.0","author":"DanielRiera","date":"2026-03-14 01:54:25"},"1.2.1":{"tag":"1.2.1","author":"DanielRiera","date":"2026-03-14 23:14:35"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2298689,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2298686,"resolution":"1544x500","location":"assets","locale":""},"banner-1880x609.png":{"filename":"banner-1880x609.png","revision":2298686,"resolution":"1880x609","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2298686,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9.1","1.1.0","1.2.0","1.2.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2306,984,173988,332,286],"plugin_category":[55],"plugin_contributors":[125242],"plugin_business_model":[],"class_list":["post-121139","plugin","type-plugin","status-publish","hentry","plugin_tags-badges","plugin_tags-conversion","plugin_tags-product-badges","plugin_tags-sales","plugin_tags-woocommerce","plugin_category-seo-and-marketing","plugin_contributors-danielriera","plugin_committers-danielriera","plugin_committers-taxarpro","plugin_support_reps-danielriera"],"banners":{"banner":"https:\/\/ps.w.org\/badges-woo\/assets\/banner-772x250.png?rev=2298686","banner_2x":"https:\/\/ps.w.org\/badges-woo\/assets\/banner-1544x500.png?rev=2298686","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/badges-woo\/assets\/icon-128x128.png?rev=2298689","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Badges Woo lets you display custom badges over WooCommerce product images without editing the original image.<\/p>\n\n<p>You can create badges manually per product, assign reusable presets, or apply presets automatically when products match specific rules such as sale, featured, out of stock, or new.<\/p>\n\n<p>The plugin is designed to work on shop loops, category archives, tag archives, and single product pages.<\/p>\n\n<h4>Main features<\/h4>\n\n<ul>\n<li>Manual product badges with custom text<\/li>\n<li>Automatic badge rules:\n\n<ul>\n<li><code>sale<\/code><\/li>\n<li><code>featured<\/code><\/li>\n<li><code>outofstock<\/code><\/li>\n<li><code>new<\/code><\/li>\n<\/ul><\/li>\n<li>Global presets that can be assigned to products<\/li>\n<li>Automatic global presets that apply when product rules match<\/li>\n<li>Product badge priority over preset badges<\/li>\n<li>Optional display on the single product page<\/li>\n<li>Optional setting to hide the default WooCommerce sale badge when a custom badge exists<\/li>\n<li>Multiple positions:\n\n<ul>\n<li><code>top<\/code><\/li>\n<li><code>bottom<\/code><\/li>\n<li><code>left<\/code><\/li>\n<li><code>right<\/code><\/li>\n<li><code>center<\/code><\/li>\n<li><code>left-top<\/code><\/li>\n<li><code>right-top<\/code><\/li>\n<li><code>left-bottom<\/code><\/li>\n<li><code>right-bottom<\/code><\/li>\n<li><code>top-left<\/code><\/li>\n<li><code>top-right<\/code><\/li>\n<li><code>bottom-left<\/code><\/li>\n<li><code>bottom-right<\/code><\/li>\n<li><code>center-left<\/code><\/li>\n<li><code>center-right<\/code><\/li>\n<\/ul><\/li>\n<li>Multiple shapes:\n\n<ul>\n<li><code>default<\/code><\/li>\n<li><code>rounded<\/code><\/li>\n<li><code>pill<\/code><\/li>\n<li><code>circle<\/code><\/li>\n<li><code>diamond<\/code><\/li>\n<li><code>star<\/code><\/li>\n<li><code>hexagon<\/code><\/li>\n<li><code>ticket<\/code><\/li>\n<li><code>bookmark<\/code><\/li>\n<li><code>burst<\/code><\/li>\n<\/ul><\/li>\n<li>Adjustable colors, opacity, font size, font weight, and single product zoom<\/li>\n<li>Emoji support<\/li>\n<\/ul>\n\n<h4>Badge priority<\/h4>\n\n<p>Badge output is resolved in this order:<\/p>\n\n<ol>\n<li>Product badge<\/li>\n<li>Selected product preset<\/li>\n<li>Global auto-apply preset<\/li>\n<\/ol>\n\n<p>If an automatic rule is active and no custom text is defined, the plugin uses the default rule label such as <code>Sale<\/code>, <code>Featured<\/code>, <code>Out of stock<\/code>, or <code>New<\/code>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to <code>\/wp-content\/plugins\/badges-woo\/<\/code>, or install it from the WordPress admin.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Edit a WooCommerce product to configure a product badge.<\/li>\n<li>Go to <code>WooCommerce &gt; Badges Woo<\/code> to manage presets and global settings.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20use%20emojis%20in%20badge%20text%3F\"><h3>Can I use emojis in badge text?<\/h3><\/dt>\n<dd><p>Yes. Badge text supports emojis.<\/p><\/dd>\n<dt id=\"can%20i%20hide%20the%20default%20woocommerce%20sale%20badge%3F\"><h3>Can I hide the default WooCommerce sale badge?<\/h3><\/dt>\n<dd><p>Yes. In <code>WooCommerce &gt; Badges Woo<\/code>, enable:<\/p>\n\n<pre><code>Hide default WooCommerce badges when a custom badge exists\n<\/code><\/pre><\/dd>\n<dt id=\"does%20it%20work%20on%20shop%20and%20category%20pages%3F\"><h3>Does it work on shop and category pages?<\/h3><\/dt>\n<dd><p>Yes. The plugin injects badges into WooCommerce product image output for shop archives, category pages, tag pages, and single product pages.<\/p><\/dd>\n<dt id=\"how%20can%20i%20change%20how%20many%20days%20a%20product%20is%20considered%20new%3F\"><h3>How can I change how many days a product is considered new?<\/h3><\/dt>\n<dd><p>The automatic <code>new<\/code> rule uses <code>30<\/code> days by default.<\/p>\n\n<p>Add this snippet to your theme or child theme <code>functions.php<\/code>:<\/p>\n\n<pre><code>`php\n<\/code><\/pre>\n\n<p>add_filter('woobadges_newness_days', function($days, $product) {\n    return 14;\n}, 10, 2);\n    `<\/p>\n\n<p>Examples:<\/p>\n\n<ul>\n<li><code>14<\/code> means products created in the last 14 days match the <code>new<\/code> rule<\/li>\n<li><code>30<\/code> keeps the default behavior<\/li>\n<li><code>60<\/code> keeps products marked as new for longer<\/li>\n<\/ul><\/dd>\n<dt id=\"are%20translations%20included%3F\"><h3>Are translations included?<\/h3><\/dt>\n<dd><p>Yes. Translation files are included in <code>\/languages<\/code>, and the plugin uses the <code>badges-woo<\/code> text domain.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Declare compatibility with Custom order table WooCommerce<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Updated compatibility for WordPress <code>6.9.4<\/code><\/li>\n<li>Updated compatibility for WooCommerce <code>10.6.1<\/code><\/li>\n<li>Added global presets<\/li>\n<li>Added preset selection on products<\/li>\n<li>Added automatic preset rules<\/li>\n<li>Added more badge positions<\/li>\n<li>Added visual position selectors<\/li>\n<li>Added multiple badge shapes<\/li>\n<li>Added visual shape selectors<\/li>\n<li>Added setting to hide the default WooCommerce sale badge when a custom badge exists<\/li>\n<li>Improved admin UI for presets and badge configuration<\/li>\n<li>Cleaned up translation files and text domain loading<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Updated compatibility with WordPress 6<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Updated compatibility with WordPress 5.7.2<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Fixed error when selecting <code>none<\/code><\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Fixed Elementor Pro compatibility<\/li>\n<li>Minor fixes<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Fixed CSS<\/li>\n<li>Added emoji link<\/li>\n<li>Fixed cart images<\/li>\n<li>Fixed mini-cart images<\/li>\n<li>Fixed widget images<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fixed single product page gallery with Flexslider<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Fixed CSS with Astra theme<\/li>\n<li>Added font-weight support<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed CSS<\/li>\n<li>Added single product page badge support<\/li>\n<li>Added zoom on single product page<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Language fix<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Badges Woo lets you display custom badges over WooCommerce product images without editing the original image.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/121139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=121139"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/danielriera"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=121139"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=121139"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=121139"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=121139"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=121139"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=121139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}