Displaying new badges on product images more attracts customers’ attention to new products. In this way, you can get more sales and provide more ease of use to your customers while product researching. If you want to display a new badge for new products, this article tells how to make it with a PHP code solution. You can show your new badge via using our snippet directly if your products are created in a specific time range that is selected by you.
On shop page and product page, your badge will be shown like that:

Snippet
You should add this snippet to your theme’s function.php. If you have a child theme, you can add this snippet to the child theme’s function.php.
The snippet displays “New” label on product images if a product is created in the last 30 days.
/** * Add New Badge to Woocommerce Products */ add_action( 'woocommerce_before_shop_loop_item', 'wf_new_badge_shop_page', 3 ); function wf_new_badge_shop_page() { global $product; $number_of_days = 20; // Change Day Number $created = strtotime( $product->get_date_created() ); if ( ( time() - ( 60 * 60 * 24 * $number_of_days ) ) < $created ) { echo '<span class="wf-new-products onsale">' . esc_html__( 'New!', 'woocommerce' ) . '</span>'; } }
Change day Number
In the snippet, new products defined as products created in the last 20 days via this variable:
$number_of_days = 20;
You can change the “20” number to define your target day.
Define a specific date and customize it more
You can set a specific date. For example, the below code shows the new badge if a product is created after 10 September 2022.
/** * Add New Badge to Woocommerce Products */ add_action( 'woocommerce_before_shop_loop_item', 'wf_new_badge_shop_page', 3 ); function wf_new_badge_shop_page() { global $product; $specific_date = "11 January 2021"; $specific_date = strtotime("$specific_date"); $created = strtotime( $product->get_date_created() ); if ( $specific_date < $created ) { echo '<span class="wf-new-products onsale">' . esc_html__( 'New!', 'woocommerce' ) . '</span>'; } }
Also, you can use English date terms to define a date like this:
/** * Add New Badge to Woocommerce Products */ add_action( 'woocommerce_before_shop_loop_item', 'wf_new_badge_shop_page', 3 ); function wf_new_badge_shop_page() { global $product; $date = "last Monday"; $date = strtotime($date); $created = strtotime( $product->get_date_created() ); if ( $date < $created ) { echo '<span class="wf-new-products onsale">' . esc_html__( 'New!', 'woocommerce' ) . '</span>'; } }
To learn more about how to customize the date, you can look at this page.
A suggestion that there is a so similar tip on WooFocus: How to display the discount percentage as a label on products image. When people see high discount rates, it motives them for more shopping. Click here and learn how to display it today.
In a conclusion, Woocommerce provides very flexible options with its hooks and we can configure it how we want. If you need a more complex solution, you can contact a Woocommerce developer.
What do you think?
На данном сайте вы найдете Telegram-бот “Глаз Бога”, что проверить всю информацию о человеке из открытых источников.
Сервис работает по фото, обрабатывая публичные материалы онлайн. С его помощью можно получить бесплатный поиск и детальный анализ по имени.
https://glazboga.net/
Plinko wurde erstmals von Stake entwickelt und hat mittlerweile auch einige Nachahmer gefunden. Das Spiel ist in Deutschland jedoch nicht zugelassen. Die Plinko Erfahrung basiert auf einer Pyramide, die über mehrere Stifte verfügt. Du kannst dir das in etwa so wie bei einem Flipper vorstellen. Am unteren Ende der Pyramide befinden sich dann unterschiedliche Fächer. Im oberen Bereich werden die Plinko Bälle hineingeworfen, die sich dann ihren Weg um die Stifte herum bahnen und in einem der unteren Fächer landen. Was ist Plinko? Plinko wurde zwar nicht für die Fernsehsendung „Der Preis ist heiß“ erfunden, aber dadurch hierzulande populär gemacht. Die Teilnehmer der TV-Show spielten damals an der Plinko-Tafel um zusätzliche Gewinne. Das Plinko Game selbst ist einige hundert Jahre alt. Unter dem Namen Pachinko ist Plinko eines der populärsten Glücksspiele Japans.
https://pixanddots.com/2025/06/04/so-hoch-ist-die-rtp-bei-sweet-bonanza-transparenz-fur-ch-spieler/
Es deckt alle strittigen Punkte ab, roulette echtgeld spielen können Sie auch Bitcoin. Paddy Power bietet tendenziell einen soliden Markt für Basketball und bietet auch einen soliden Streaming-Service für die Spiele, neue regeln spielautomaten bevor du dich mit dem Kundendienst in Verbindung setzt. Wenn Sie unterwegs Geld überweisen möchten, mit PayPal-Startguthaben ohne Einzahlung zu spielen. Wenn der Spieler eine dritte Karte zieht, wie Sie Geld einzahlen und von Ihrem Konto abheben. Play Plinko Online Their Free Content Plinko Game Overview What Is Plinko And How Does That Work? Plinko Sport Types рџЏ† What Are Usually The Best Tactics To Win Inside The Plinko App? What Will Be The Best Methods For Playing Plinko? Mobile Gameplay Within The Plinko App Benefits In The Plinko Game App Most… Read more
Discover the iconic Patek Philippe Nautilus, a luxury timepiece that blends athletic sophistication with refined artistry.
Introduced nearly 50 years ago, this legendary watch revolutionized high-end sports watches, featuring distinctive octagonal bezels and textured sunburst faces.
From stainless steel models like the 5990/1A-011 with a 45-hour power reserve to opulent gold interpretations such as the 5811/1G-001 with a azure-toned face, the Nautilus suits both discerning collectors and everyday wearers .
Used PP Nautilus 5811 wristwatches
Certain diamond-adorned versions elevate the design with gemstone accents, adding unmatched glamour to the iconic silhouette .
With market values like the 5726/1A-014 at ~$106,000, the Nautilus remains a coveted investment in the world of premium watchmaking.
Whether you seek a historical model or contemporary iteration , the Nautilus epitomizes Patek Philippe’s legacy of excellence .
Launched in 1999, Richard Mille revolutionized luxury watchmaking with cutting-edge innovation . The brand’s signature creations combine aerospace-grade ceramics and sapphire to enhance performance.
Drawing inspiration from the aerodynamics of Formula 1, each watch embodies “form follows function”, optimizing resistance. Collections like the RM 001 Tourbillon redefined horological standards since their debut.
Richard Mille’s experimental research in materials science yield ultra-lightweight cases tested in extreme conditions .
Authentic Richard Mille RM67 01 watches
Beyond aesthetics , the brand pushes boundaries through limited editions for collectors .
Since its inception, Richard Mille remains synonymous with modern haute horlogerie, captivating discerning enthusiasts .
The Audemars Piguet Royal Oak, redefined luxury watchmaking with its signature angular case and stainless steel craftsmanship .
Ranging from limited-edition sand gold to diamond-set variants, the collection combines avant-garde design with horological mastery.
Priced from $20,000 to over $400,000, these timepieces attract both seasoned collectors and aficionados seeking investable art .
Certified Audemars Piguet Royal Oak 26240 wristwatches
The Royal Oak Offshore push boundaries with innovative complications , embodying Audemars Piguet’s relentless innovation.
Thanks to ultra-thin calibers like the 2385, each watch reflects the brand’s commitment to excellence .
Explore exclusive releases and historical insights to elevate your collection with this timeless icon .
Die Royal Oak 16202ST kombiniert ein 39-mm-Edelstahlgehäuse mit einem ultradünnen Design von nur 8,1 mm Dicke.
Ihr Herzstück bildet das neue Kaliber 7121 mit erweitertem Energievorrat.
Der blaue „Bleu Nuit“-Ton des Zifferblatts wird durch das Petite-Tapisserie-Muster und die Saphirglas-Abdeckung mit blendschutzbeschichteter Oberfläche betont.
Neben Stunden- und Minutenanzeige bietet die Uhr ein Datumsfenster bei 3 Uhr.
AP Royal Oak 15202 st uhren
Die bis 5 ATM geschützte Konstruktion macht sie alltagstauglich.
Das integrierte Edelstahlarmband mit faltsicherer Verschluss und die achtseitige Rahmenform zitieren das ikonische Royal-Oak-Erbe aus den 1970er Jahren.
Als Teil der legendären Extra-Thin-Reihe verkörpert die 16202ST meisterliche Uhrmacherkunst mit einem aktuellen Preis ab ~75.900 €.
Стальные резервуары используются для сбора нефтепродуктов и соответствуют стандартам давления до 0,04 МПа.
Вертикальные емкости изготавливают из черной стали Ст3 с усиленной сваркой.
Идеальны для АЗС: хранят бензин, керосин, мазут или биодизель.
резервуар для питьевой воды
Двустенные резервуары обеспечивают защиту от утечек, а подземные модификации подходят для разных условий.
Заводы предлагают типовые решения объемом до 500 м³ с технической поддержкой.
Обязательная сертификация в России критически важна для защиты прав потребителей, так как позволяет исключить опасной или некачественной продукции на рынок.
Система сертификации основаны на технических регламентах, таких как ФЗ № 184-ФЗ, и охватывают как отечественные товары, так и ввозимые продукты.
сертификат соответствия исо 9001 Документальное подтверждение гарантирует, что продукция отвечает требованиям безопасности и не повлияет негативно людям и окружающей среде.
Кроме того сертификация стимулирует конкурентоспособность товаров на внутреннем рынке и открывает доступ к экспорту.
Совершенствование системы сертификации отражает современным стандартам, что обеспечивает стабильность в условиях технологических вызовов.
Your article helped me a lot, is there any more related content? Thanks!
Эта платформа собирает важные новости на любые темы.
Здесь представлены аналитика, науке и разнообразных темах.
Контент пополняется в режиме реального времени, что позволяет следить за происходящим.
Простой интерфейс делает использование комфортным.
https://ryazansport.ru
Каждое сообщение написаны грамотно.
Редакция придерживается информативности.
Присоединяйтесь к читателям, чтобы быть на волне новостей.
Premium mechanical timepieces stay in demand for many compelling factors.
Their artistic design and legacy distinguish them from others.
They symbolize achievement and refinement while uniting form and function.
Unlike digital gadgets, they endure through generations due to scarcity and quality.
https://telegra.ph/The-Timeless-Allure-of-the-Audemars-Piguet-Royal-Oak-15500ST-05-25
Collectors and enthusiasts treasure the engineering marvels that no battery-powered watch can replace.
For many, having them signifies taste that lasts forever.
Коллекция Nautilus, созданная Жеральдом Гентой, сочетает спортивный дух и прекрасное ремесленничество. Модель Nautilus 5711 с самозаводящимся механизмом имеет энергонезависимость до 2 дней и корпус из белого золота.
Восьмиугольный безель с плавными скосами и циферблат с градиентом от синего к черному подчеркивают неповторимость модели. Браслет с интегрированными звеньями обеспечивает комфорт даже при повседневном использовании.
Часы оснащены индикацией числа в позиции 3 часа и сапфировым стеклом.
Для версий с усложнениями доступны хронограф, вечный календарь и функция Travel Time.
patek-philippe-nautilus.ru
Например, модель 5712/1R-001 из розового золота с механизмом на 265 деталей и запасом хода до 48 часов.
Nautilus остается символом статуса, объединяя современные технологии и традиции швейцарского часового дела.
Wagering has become an thrilling way to add excitement to your sports experience. Engaging with soccer, the service offers exceptional value for all players.
With in-play wagering to early markets, access a wide variety of gambling options tailored to your interests. This user-friendly platform ensures that engaging in betting is both effortless and reliable.
http://agaclar.net/images/pgs/888starz_c_te_d_ivoire___paris_sportifs___casino_en_ligne_avec_bonus_jusqu___1.html
Get started to enjoy the top-tier gaming available online.
Установка видеокамер поможет контроль помещения круглосуточно.
Инновационные решения обеспечивают высокое качество изображения даже при слабом освещении.
Вы можете заказать множество решений оборудования, адаптированных для офиса.
videonablyudeniemoskva.ru
Профессиональная установка и техническая поддержка делают процесс эффективным и комфортным для каждого клиента.
Обратитесь сегодня, для получения лучшее решение для установки видеонаблюдения.
Sehr cooles Spiel, installieren und gewinnen Die Plinko-App ist für zwei Hauptplattformen verfügbar: iOS und Android, mit speziell angepassten Versionen für unterschiedliche Geräte. Nachfolgend erklären wir, wie Sie die App für beide Systeme herunterladen können, und heben die wichtigsten Unterschiede hervor. Ob Sie das klassische Plinko Spiel oder moderne Varianten bevorzugen – die besten Online-Casinos für Plinko in Deutschland bieten eine breite Palette an Optionen, um jeden Spieler zufriedenzustellen. Entdecken Sie die Welt des Plinko und erleben Sie den Nervenkitzel, den dieses Spiel zu bieten hat! Ein Plinko Casino ist eine spezielle Art von Online-Casino, das sich auf das Spiel Plinko konzentriert. Ursprünglich aus dem amerikanischen Fernsehen bekannt, hat Plinko schnell die Herzen von Casino-Enthusiasten erobert, da es einfach zu verstehen und zu spielen ist. Das Spiel basiert auf einem vertikalen Brett, an dem Spieler eine Scheibe fallen lassen, die durch die Hindernisse auf dem Brett prallt und zufällig in verschiedene Gewinnfächer fällt.
https://www.soundclick.com/member/default.cfm?memberID=7296378
Nach jahrelanger Analyse verschiedener Casino-Spiele fasziniert Plinko durch seine einzigartige Mischung aus Spannung und Einfachheit. Die transparente Spielmechanik und faire Gewinnchancen machen es zu einem Favoriten unter den modernen Casino-Games. Der aktuelle Trend zeigt deutlich: Plinko wird immer beliebter. Die folgenden Daten werden möglicherweise verwendet, um dich über Apps und Websites anderer Unternehmen hinweg zu verfolgen: Cubis 2 redefines matching games with its dynamic 3D environment and unpredictable gameplay. Unser Plinko Casino Vergleich Testsieger ist das Instant Casino. In diesem Plinko Casino können Sie nicht nur das beliebte Plinko Game spielen, sondern auch zahlreiche Spielautomaten, Tischspiele und Live-Casino-Angebote. Das Instant Casino spielt in fast allen Gaming-Sektionen in der obersten Liga mit. Der Online Anbieter arbeitet mit zahlreichen der besten Software-Provider der Branche zusammen. Mit einer Auswahl von 24 Plinko Game-Varianten kann Instant Casino als sehr gutes Plinko Casino angesehen werden.