{"id":2905,"date":"2026-10-20T08:37:21","date_gmt":"2026-10-20T07:37:21","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/hide-map-on-listing-pages\/"},"modified":"2026-10-20T08:37:21","modified_gmt":"2026-10-20T07:37:21","slug":"hide-map-on-listing-pages","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/hide-map-on-listing-pages\/","title":{"rendered":"How to hide the map on GeoDirectory listing pages"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A map on your GeoDirectory category or listing pages comes from a GD > Map block placed somewhere on that page. To remove it, find where that block is. There are three usual places.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. A map widget in a sidebar<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Go to Appearance > Widgets (or your theme&#8217;s sidebar settings) and look for a GD > Map widget. A map with Map type set to Auto shows the archive map on category and search pages and the single listing map on detail pages, so one widget can put a map on every GeoDirectory page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you want to keep the sidebar but only want the map on the detail page, remove the widget from the sidebar and add a GD > Map block to your details template page instead (see below).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. The GeoDirectory template pages<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Archive, search and detail pages are built from template pages that you edit like normal pages. Go to GeoDirectory > Settings > General > Pages to see which page is used for each:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Archive page: categories, tags and the post type archive.<\/li>\n\n\n\n<li>Search Page: search results.<\/li>\n\n\n\n<li>Details Page: the single listing page.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A post type can use its own template pages, set in Places > Settings > General. Open the page in the editor, delete the GD > Map block or <code>&#091;gd_map&#093;<\/code> shortcode, and update the page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3. Your theme<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Some directory themes add a map to the header of GeoDirectory pages through their own settings. If you cannot find a map block anywhere above, check your theme&#8217;s options.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For showing a block only to some visitors, see <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/widget-show-hide-options\/\">widget show \/ hide options<\/a>. The map block&#8217;s settings are described in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-map\/\">GD > Map<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A map on your GeoDirectory category or listing pages comes from a GD > Map block placed somewhere on that page. To remove it, find where that block is. There are three usual places. 1. A map widget in a sidebar Go to Appearance > Widgets (or your theme&#8217;s sidebar settings) and look for a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,432],"class_list":["post-2905","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\/2905","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=2905"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2905\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2905"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2905"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}