{"id":2601,"date":"2026-10-20T08:35:20","date_gmt":"2026-10-20T07:35:20","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/categories-missing-from-map-filter\/"},"modified":"2026-10-20T08:39:39","modified_gmt":"2026-10-20T07:39:39","slug":"categories-missing-from-map-filter","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/troubleshooting\/categories-missing-from-map-filter\/","title":{"rendered":"Why are some categories missing from the GeoDirectory map category filter?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The category filter on a GeoDirectory map only lists categories that have published listings. A category with no listings, or with only draft or pending ones, is left out, and its listings will not be on the map either.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What to check<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to Places &gt; Place Categories and look at the Count column. A count of 0 means the category is hidden from the filter.<\/li>\n\n\n\n<li>Make sure the listings in that category are published, not pending review or draft.<\/li>\n\n\n\n<li>Run <em>Term counts<\/em> at GeoDirectory &gt; Status &gt; Tools. After an import or a bulk change the counts can be out of date, and the filter goes by those counts.<\/li>\n\n\n\n<li>Check the map block&#8217;s <em>Category restrictions<\/em> option (<code>terms<\/code>). A list of IDs there limits the map to those categories only.<\/li>\n\n\n\n<li>Check <em>Tick\/Untick Categories on Map<\/em> (<code>tick_terms<\/code>). It decides which categories start ticked. Leave it empty to tick them all.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Subcategories<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Subcategories appear under their parent. If <em>Collapse sub categories?<\/em> is on, they stay hidden until the visitor clicks the parent. Note that a listing only counts towards the category it is actually assigned to, so a parent with no listings of its own can show a count of 0.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To turn the filter on or off, edit the map block and use <em>Enable category filter?<\/em>. All the map options are in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-map\/\">GD &gt; Map<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The category filter on a GeoDirectory map only lists categories that have published listings. A category with no listings, or with only draft or pending ones, is left out, and its listings will not be on the map either. What to check Subcategories Subcategories appear under their parent. If Collapse sub categories? is on, they [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,437],"class_list":["post-2601","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-troubleshooting"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2601","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=2601"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2601\/revisions"}],"predecessor-version":[{"id":2784,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2601\/revisions\/2784"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2601"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2601"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}