{"id":18901207,"date":"2026-05-07T03:11:09","date_gmt":"2026-05-07T03:11:09","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/zip-code-filtering-bug\/"},"modified":"2026-05-07T03:11:09","modified_gmt":"2026-05-07T03:11:09","slug":"zip-code-filtering-bug","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/zip-code-filtering-bug\/","title":{"rendered":"Zip Code Filtering Bug"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I&#8217;m using Directorist on our site for an advisor directory, and need to be able to search for advisors by distance from a zip code. I&#8217;ve added the Zip\/Post Code and Radius Search fields to our Search &amp; Filter sidebar, and added a zip code field to the individual listings. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It seems like the search may be working when I first input the zip code into the zip code filter field, as it brings up matching advisors immediately on text input. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, if I click anywhere on the page, or even click off the page, into another window, it reloads the directory immediately with &#8220;No listings found&#8221;. And from there, adjusting the radius also has no effect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Can you let me know what may be causing this issue, and how I can fix it?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks in advance for the help!<\/p>\n","protected":false},"template":"","class_list":["post-18901207","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18901207","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18901207\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18901207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}