{"id":772,"date":"2025-03-24T14:27:38","date_gmt":"2025-03-24T14:27:38","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/gd-output-location\/"},"modified":"2025-04-03T15:23:59","modified_gmt":"2025-04-03T14:23:59","slug":"gd-output-location","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-output-location\/","title":{"rendered":"GD > Output Location"},"content":{"rendered":"\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-success mb-3\" role=\"alert\"><span class=\"fas fa-check-circle me-2\"><\/span><span class=\"flex-grow-1\">All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/what-makes-geodirectory-widgets-special\/\">Super Duper Widgets<\/a>.<\/span><\/div>\n\n\n\n<p>The <strong><em>Output Location<\/em><\/strong> widget is a quick way to <strong>output several custom fields in a specific location<\/strong>.<\/p>\n\n\n\n<p>The way it works is, in the add\/edit custom fields page, when you open a custom field you can set it to &#8220;<strong><em>Show in extra output location<\/em><\/strong>&#8220;. This widget will output the data for that location.<\/p>\n\n\n\n<div class=\"wp-block-blockstrap-blockstrap-widget-alert d-flex align-items-center fade show alert alert-info mb-3\" role=\"alert\"><span class=\"fas fa-info-circle me-2\"><\/span><span class=\"flex-grow-1\">You can also add custom fields individually to most locations with the <strong>GD > Post Meta<\/strong> widget.<\/span><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Widget Options<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Location<\/strong> &#8211; The location type to output. By default these are; <strong>Details page sidebar, Listings page and Map bubble.<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Example Output<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Under Custom fields settings; <strong>Places > Settings > Custom Fields. <\/strong>Set the fields you want to show, and where.<br><figure><img loading=\"lazy\" decoding=\"async\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-eTstaBBE8y.png 556w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-eTstaBBE8y-300x224.png 300w\" width=\"556\" height=\"415\" class=\"attachment-large size-large\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-eTstaBBE8y.png\" alt=\"\"><\/figure><\/li>\n\n\n\n<li><p>The <strong>map bubble and the listings items page come set as default<\/strong>, in some cases, you may need to add the widget to the sidebar for the details page.<\/p><p><img loading=\"lazy\" decoding=\"async\" sizes=\"auto, (max-width: 316px) 100vw, 316px\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-Xe05s7Q090.png 316w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-Xe05s7Q090-187x300.png 187w\" width=\"316\" height=\"507\" class=\"attachment-large size-large\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-Xe05s7Q090.png\" alt=\"\"><\/p><\/li>\n\n\n\n<li><p>In the details page sidebar, you will now see the fields you selected.<\/p><p><img loading=\"lazy\" decoding=\"async\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-ccatbZSHMa.png 338w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-ccatbZSHMa-182x300.png 182w\" width=\"338\" height=\"557\" class=\"attachment-large size-large\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-ccatbZSHMa.png\" alt=\"\"><br>Also in the map bubble, you will see the fields:<\/p><p><img loading=\"lazy\" decoding=\"async\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-AWhL3aabsL.png 602w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-AWhL3aabsL-300x163.png 300w\" width=\"602\" height=\"328\" class=\"attachment-large size-large\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-AWhL3aabsL.png\" alt=\"\"><\/p><br><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The Output Location widget is a quick way to output several custom fields in a specific location. The way it works is, in the add\/edit custom fields page, when you open a custom field you can set it to &#8220;Show in extra output location&#8220;. This widget will output the data for that location. Widget Options [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[213,422],"class_list":["post-772","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-extensions-features","gd_placecategory-core-widgets"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/772","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=772"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/772\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=772"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=772"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=772"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}