{"id":2297,"date":"2026-10-20T08:30:40","date_gmt":"2026-10-20T07:30:40","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/remove-new-badge-from-listings\/"},"modified":"2026-10-20T08:39:39","modified_gmt":"2026-10-20T07:39:39","slug":"remove-new-badge-from-listings","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/remove-new-badge-from-listings\/","title":{"rendered":"How to remove the New badge from listings"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The red New badge marks listings published in the last 30 days. It is a badge in your Archive item template, the template GeoDirectory uses for each listing card on category, search and listing pages, so removing it there removes it everywhere.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to GeoDirectory &gt; Settings &gt; General &gt; Pages and edit the Archive item page.<\/li>\n\n\n\n<li>If the page uses the GD &gt; Simple Archive Item block (the default on block editor sites), select it, open Image Badge (top right) and set Top Right Badge to None.<\/li>\n\n\n\n<li>If the page uses shortcodes, delete the line that starts <code>&#091;gd_post_badge key=&#039;post_date&#039;<\/code> and contains <code>badge=&#039;New&#039;<\/code>.<\/li>\n\n\n\n<li>Update the page.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Changing how long a listing counts as new<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to keep the badge but show it for a different period, change the number in the badge&#8217;s search value. In <code>search=&#039;+30&#039;<\/code> the 30 is the number of days after the publish date that the badge shows.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hiding it on some pages only<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">GD &gt; Listings and GD &gt; Loop can each use their own archive item template. Create a second archive item page without the badge, then select it in the Archive Item Template Type and Archive Item Template Page options of the element on the pages where you do not want the badge. See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-post-badge\/\">GD &gt; Post Badge<\/a> for the other badge options.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The red New badge marks listings published in the last 30 days. It is a badge in your Archive item template, the template GeoDirectory uses for each listing card on category, search and listing pages, so removing it there removes it everywhere. Changing how long a listing counts as new If you want to keep [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,432],"class_list":["post-2297","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-how-tos"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2297"}],"version-history":[{"count":2,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2297\/revisions"}],"predecessor-version":[{"id":2606,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2297\/revisions\/2606"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2297"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2297"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}