{"id":2500,"date":"2026-10-20T08:34:09","date_gmt":"2026-10-20T07:34:09","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/show-address-phone-on-details-page\/"},"modified":"2026-10-20T08:39:20","modified_gmt":"2026-10-20T07:39:20","slug":"show-address-phone-on-details-page","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/show-address-phone-on-details-page\/","title":{"rendered":"How to show the address and phone number on the listing details page"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Each GeoDirectory custom field only shows where you place it. If the address or phone number is missing from your listing pages, add the fields to a tab on the details page, or to one of the extra output locations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Add the fields to a details page tab<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to Places &gt; Settings &gt; Tabs.<\/li>\n\n\n\n<li>The left column lists your custom fields. Click Address, then Phone (or whatever your phone field is called), to add them on the right.<\/li>\n\n\n\n<li>Drag them into the tab where they should appear, for example the Profile tab, or add a Fieldset to give them their own heading.<\/li>\n\n\n\n<li>Save and reload a listing.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/how-to-use-the-tabs-builder-in-geodirectory\/\">How to Use the Tabs Builder in GeoDirectory?<\/a> for more on arranging tabs.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Show them in the sidebar or on listing cards<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Go to Places &gt; Settings &gt; Custom Fields, open the field and use Show in extra output location. The options are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Details page sidebar: shows the field wherever a GD &gt; Output Location block or widget set to that location is placed, usually in the details page sidebar.<\/li>\n\n\n\n<li>Listings page: shows the field on the listing cards in archive and search results.<\/li>\n\n\n\n<li>Map bubble: shows it in the popup when a map marker is clicked.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Choosing Details page sidebar does nothing on its own if no <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-output-location\/\">GD &gt; Output Location<\/a> is on the page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Place a single field anywhere<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For more control, put a GD &gt; Post Meta block or shortcode in your details page template (GeoDirectory &gt; Settings &gt; General &gt; Pages &gt; Details Page) for the phone number, and a <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-post-address\/\">GD &gt; Post Address<\/a> for the address. GD &gt; Post Address has its own template setting, so you can control which parts of the address show and on which lines.<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-html\">&#091;gd_post_meta key=&quot;phone&quot;&#093;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Each GeoDirectory custom field only shows where you place it. If the address or phone number is missing from your listing pages, add the fields to a tab on the details page, or to one of the extra output locations. Add the fields to a details page tab See How to Use the Tabs Builder [&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-2500","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\/2500","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=2500"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2500\/revisions"}],"predecessor-version":[{"id":2578,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2500\/revisions\/2578"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2500"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2500"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}