{"id":2733,"date":"2026-10-20T08:36:21","date_gmt":"2026-10-20T07:36:21","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-to-show-all-listings-on-the-map\/"},"modified":"2026-10-20T08:38:59","modified_gmt":"2026-10-20T07:38:59","slug":"how-to-show-all-listings-on-the-map","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/how-to-show-all-listings-on-the-map\/","title":{"rendered":"How to show all listings on the map"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The GD &gt; Map widget picks which markers to show from its Map type setting. Use the Directory Map type to show every listing. On category and post type archive pages, use the Archive Map type and tick &#8220;Show all posts?&#8221; so the map includes listings beyond the current page of results.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Show all listings on a page<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Edit the page where you want the map and add the GD &gt; Map block, the GD &gt; Map widget or the <code>&#091;gd_map&#093;<\/code> shortcode.<\/li>\n\n\n\n<li>Set Map type to Directory Map.<\/li>\n\n\n\n<li>Choose the Default Post Type and leave Category restrictions empty, so no categories are left out.<\/li>\n\n\n\n<li>If you have more than one post type, tick &#8220;Enable post type filter?&#8221; so visitors can switch between them. &#8220;Enable category filter?&#8221; lets them show and hide categories on the map.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The same map as a shortcode:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-markup\">&#091;gd_map map_type=&quot;directory&quot; post_type=&quot;gd_place&quot; post_type_filter=&quot;1&quot; cat_filter=&quot;1&quot;&#093;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Show all listings of a category on archive pages<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">An Archive Map only shows markers for the listings on the current page of results. If your archive shows 10 listings per page, the map shows those 10.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To show markers for every listing in the category, edit the map that appears on your archive pages and tick &#8220;Show all posts?&#8221;. The option only appears when Map type is set to Archive Map. The map is usually in your archive template (GeoDirectory &gt; Settings &gt; General &gt; Pages, Archive page) or in a sidebar widget.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To make the list and the map match, show more listings per page. See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/builders\/changing-the-number-of-listings-shown-on-archive-and-search-pages\/\">Changing the number of listings shown on Archive and Search pages<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Things to know<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>With Location Manager active, the map follows the visitor&#8217;s current location, so it shows all listings in that location.<\/li>\n\n\n\n<li>A map with hundreds of markers is slow to load and hard to read. The <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/marker-cluster\/marker-cluster-setup-guide\/\">Marker Cluster<\/a> add-on groups nearby markers.<\/li>\n\n\n\n<li>Every map option is listed in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-map\/\">GD &gt; Map<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The GD &gt; Map widget picks which markers to show from its Map type setting. Use the Directory Map type to show every listing. On category and post type archive pages, use the Archive Map type and tick &#8220;Show all posts?&#8221; so the map includes listings beyond the current page of results. Show all listings [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[213,422],"class_list":["post-2733","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\/2733","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=2733"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2733\/revisions"}],"predecessor-version":[{"id":2843,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2733\/revisions\/2843"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2733"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2733"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}