{"id":935,"date":"2025-03-24T14:28:04","date_gmt":"2025-03-24T14:28:04","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-to-set-up-private-address\/"},"modified":"2025-04-03T15:24:25","modified_gmt":"2025-04-03T14:24:25","slug":"how-to-set-up-private-address","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/how-to-set-up-private-address\/","title":{"rendered":"How to set up Private Address"},"content":{"rendered":"<p>Add the &#8220;Private Address&#8221; option to GeoDirectory listings to prevent the display of address and map location on the frontend.<\/p>\n<p>With the Private Address feature your listing owners can hide their address and map location with the click of a button. Listings marked with a Private Address will still appear in GeoDirectory archives and keyword or IN search. Listings with Private Address marked are excluded from maps, Near search or the &#8216;Near Me&#8217; location page.<\/p>\n<p>The Private Address option is a checkbox custom field. Follow these steps to add it to your site.<\/p>\n<p>Steps<br \/>Open the Custom Fields settings.<br \/>Click &#8220;Private Address&#8221; to add the field, then save.<br \/>Drag and Drop to place the field where you like in the form.<br \/>Adjust the field description for your listing owners.<br \/>Edit a listing and mark the &#8220;Private Listing&#8221; field.<\/p>\n<p>Private Address Custom Field<\/p>\n<p><img width=\"677\" height=\"1024\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UYlfQ6dSES-677x1024.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UYlfQ6dSES-677x1024.png 677w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UYlfQ6dSES-198x300.png 198w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UYlfQ6dSES-768x1162.png 768w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UYlfQ6dSES.png 858w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/p>\n<p>Field Description<\/p>\n<p>If you are offering this option for private addresses, it may help to add some information to the address field description to clarify why the address field is still required. Here is some text to get you started:<br \/>&#8220;Add your address here. Online Only? Choose the Private Address option and enter an address in the correct time zone so users will get the right start time for the event. No address or location info will show on the site.&#8221;<\/p>\n<p>Private Address in the GD Details templates<\/p>\n<p>GD Map widgets will be hidden, as well as map tab.<\/p>\n<p>Address details will not show in GD Output Location, or with GD Post Meta, or GD Post Address<\/p>\n<p>Address details and maps will still be visible to logged in Admins.<\/p>\n<p>Private Address in the GD Archive item<\/p>\n<p>Listings marked with a Private Address will show the text &#8220;Private Address&#8221; where the address would normally be displayed in the GD Archive item.<\/p>\n<p><img width=\"278\" height=\"492\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-dfBnGDc4P3.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-dfBnGDc4P3.png 278w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-dfBnGDc4P3-170x300.png 170w\" sizes=\"auto, (max-width: 278px) 100vw, 278px\" \/><\/p>\n<p>Private Address with Location Manager<\/p>\n<p>Listings with Private Address marked will still show in Category+Location Archive pages as well as Location pages.<\/p>\n<p>Listings with Private Address marked will not show in Near search results or Near Me location pages.<\/p>\n<p>Read more about Location Manager<\/p>\n<p>Private Address with Pricing Manager<\/p>\n<p>The Private Address custom field can be included or excluded in Packages.<\/p>\n<p>Use it as an upsell opportunity for paid packages. Read more about Adding Packages<\/p>\n<p>Badge<\/p>\n<p>Set up a badge to show on listings with a Private Address using the &#8216;private_address&#8217; key<\/p>\n<p><img width=\"460\" height=\"998\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-MAMe2UHDuv.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-MAMe2UHDuv.png 460w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-MAMe2UHDuv-138x300.png 138w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/p>\n<p>Read more about GD Post Badge<\/p>\n<p>Translate or Localize Private Address feature<\/p>\n<p>The &#8220;Private Address&#8221; text string shown in the GD Archive item can be changed with normal localization of the GeoDirectory core PO file. Read more about localizing GeoDirectory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Add the &#8220;Private Address&#8221; option to GeoDirectory listings to prevent the display of address and map location on the frontend. With the Private Address feature your listing owners can hide their address and map location with the click of a button. Listings marked with a Private Address will still appear in GeoDirectory archives and keyword [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,432],"class_list":["post-935","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\/935","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"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=935"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/935\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=935"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=935"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}