{"id":2754,"date":"2026-10-20T08:36:23","date_gmt":"2026-10-20T07:36:23","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/make-street-address-optional\/"},"modified":"2026-10-20T08:39:01","modified_gmt":"2026-10-20T07:39:01","slug":"make-street-address-optional","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/make-street-address-optional\/","title":{"rendered":"How to make the street address optional when adding a listing"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In GeoDirectory the whole address (street, city, region, country and zip) is one Address field per post type, and you can make it optional:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to Places &gt; Settings &gt; Custom Fields (or the same page for your other post types).<\/li>\n\n\n\n<li>Open the Address field.<\/li>\n\n\n\n<li>Turn off Is required and save.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Users can then submit a listing without an address. You can&#8217;t make only the street optional while keeping city and region required, because they are all part of the same field.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once a post type has an optional address, Settings &gt; Permalinks shows a GeoDirectory Location Base (when not set) section. The words there (global, discover and explore by default) take the place of the country, region and city in the URL of a listing that has no address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A listing with no address has no map position, so it won&#8217;t show on maps or in &#8220;near&#8221; searches. If you want listings that never have an address, such as websites or online services, see <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/location-manager\/can-i-add-listings-without-an-address\/\">Can I add listings without an address?<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Keep the address but hide it<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the listing still belongs to a town but the owner works from home and doesn&#8217;t want their address shown, keep the address required and add the Private Address field instead. Add it from the predefined fields in Places &gt; Settings &gt; Custom Fields. It puts a checkbox on the add listing form, and when the owner ticks it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>visitors see &#8220;Private Address&#8221; in place of the address details<\/li>\n\n\n\n<li>the listing is left off the map and out of near searches for everyone except the owner and admins<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Setup steps are in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/how-to-set-up-private-address\/\">How to set up Private Address<\/a>. For service businesses that travel to customers, the <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/how-to-use-the-service-distance-field\/\">Service Distance field<\/a> lets owners show how far they cover.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In GeoDirectory the whole address (street, city, region, country and zip) is one Address field per post type, and you can make it optional: Users can then submit a listing without an address. You can&#8217;t make only the street optional while keeping city and region required, because they are all part of the same field. [&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-2754","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\/2754","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=2754"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2754\/revisions"}],"predecessor-version":[{"id":2864,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2754\/revisions\/2864"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2754"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2754"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}