{"id":2660,"date":"2026-10-20T08:35:25","date_gmt":"2026-10-20T07:35:25","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/search-listings-by-zip-code\/"},"modified":"2026-10-20T08:39:19","modified_gmt":"2026-10-20T07:39:19","slug":"search-listings-by-zip-code","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/search-listings-by-zip-code\/","title":{"rendered":"How to search listings by zip code or postcode"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Type the zip code or postcode in the Near field of the GeoDirectory search form, not the keyword field. The Near field turns what you type into a point on the map and finds listings around it. The keyword field only looks in listing titles, descriptions, categories and tags, so a zip code typed there won&#8217;t find anything unless it is part of that text.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How far around the zip code it searches<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Near searches only return listings within the radius set at GeoDirectory &gt; Settings &gt; General &gt; Search, Search near radius. It is 7 by default, in the unit chosen in Search distances (miles or kilometers). Increase it if zip code searches miss listings that are close by.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The same radius explains why a region on its own, like a state name, can return nothing: the search finds the center of the state and only looks within that radius of it. A city with its region, such as &#8220;Rugby, North Dakota&#8221;, gives a point close to the listings you expect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If your directory covers one country, enter it in Search near additional on the same settings page (for example &#8220;USA&#8221;). It is added to what visitors type, so a zip code is looked up in the right country.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Change the Near field text<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To tell visitors they can use a zip code, change Near field placeholder text on the same page, for example to &#8220;Zip code or city&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add a category drop-down<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With the Advanced Search add-on, add the Category field at Places &gt; Settings &gt; Search. It then shows in the search form. To show the filters without visitors clicking a button first, set Open customize filters to Always open in the GD &gt; Search element. See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/how-to-filter-search-results-by-category\/\">How to filter search results by category<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">More on how the search works: <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/how-does-the-geodirectory-search-work\/\">How does the GeoDirectory search work<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Type the zip code or postcode in the Near field of the GeoDirectory search form, not the keyword field. The Near field turns what you type into a point on the map and finds listings around it. The keyword field only looks in listing titles, descriptions, categories and tags, so a zip code typed there [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[421,213],"class_list":["post-2660","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-core-features","gd_placecategory-extensions-features"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2660","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=2660"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2660\/revisions"}],"predecessor-version":[{"id":2763,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2660\/revisions\/2763"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2660"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2660"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}