{"id":12690890,"date":"2020-04-17T17:51:09","date_gmt":"2020-04-17T17:51:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/store-locator-is-this-possible\/"},"modified":"2020-04-17T20:27:01","modified_gmt":"2020-04-17T20:27:01","slug":"store-locator-is-this-possible","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/store-locator-is-this-possible\/","title":{"rendered":"Store locator &#8211; is this possible"},"content":{"rendered":"<p>I used to develop in Drupal, and must say I dislike to limitations I&#8217;m having with wordpress. E.g. a store locator.<\/p>\n<p>I have around 100 categories. I have parent categories aka:<br \/>\n&#8211; A<br \/>\n&#8212; A1<br \/>\n&#8212; A2<br \/>\n&#8212; A3<br \/>\n&#8211; B<br \/>\n&#8212; B1<br \/>\n&#8212; B2<br \/>\n&#8212; B3<br \/>\n&#8211; C<br \/>\n&#8212; C1<br \/>\n&#8212; C2<br \/>\n&#8212; C3<br \/>\n&#8212; C4<\/p>\n<p>I have around 60 markers. Each of these markers belong to different categories. Some of the markers belong to many categories. Markers have contact details (phone, email and website along with description and image).<\/p>\n<p>I need to be able to create maps showing:<br \/>\n1. Only the markers of the category A, where the user can filter ONLY for A1, A2, A3 (and not back up to category B or C), another map for only the B subcategories,&#8230;<br \/>\n2. categories should be stylable (aka with &#8216;span&#8217; wrapped around the checkbox)<br \/>\n3. the map should be able to calculate how far you are from the marker that is left<br \/>\n4. empty categories should be excluded from the filter<\/p>\n<p>Is that possible?<\/p>\n","protected":false},"template":"","class_list":["post-12690890","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12690890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12690890\/revisions"}],"predecessor-version":[{"id":12691541,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12690890\/revisions\/12691541"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12690890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}