{"id":1291245,"date":"2017-05-31T06:57:59","date_gmt":"2017-05-31T13:57:59","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/"},"modified":"2017-06-07T10:31:39","modified_gmt":"2017-06-07T17:31:39","slug":"url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/","title":{"rendered":"URL construction for geolocation\/NEAR search\/FILTER BAR in the crossfire"},"content":{"rendered":"<p>Hi &#8211; Having visited the <a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/search-by-location-question\/#post-1278723\">TEC-P forum with the subject Search by Location<\/a>, I have noticed a few things about the link Courtney provided to help out that user. She created <a href=\"http:\/\/wpshindig.com\/events\/map\/?action=tribe_geosearch&amp;tribe_paged=1&amp;tribe_event_display=map&amp;featured=false&amp;tribe-bar-geoloc-lat=37.4315734&amp;tribe-bar-geoloc-lng=-78.65689420000001&amp;tribe-bar-geoloc=virginia\">the following example<\/a> off TEC&#8217;s test site. In it, the user is able to view the event(s) from the state of Virginia.<\/p>\n<p>Great! That was what I was looking for as well.<\/p>\n<p>However, once one plays around with the filter bar (or actually simply hits the FIND EVENTS button without selecting anything), the result(s) are lost \u2013 Virginia is no more.<\/p>\n<p>1) Is this something you know about or are working on? Meanwhile, is there anything we can do to prevent TEC-P from losing this critical user information?<\/p>\n<p>2) And one more very import question\u2026what\u2019s the proper way to construct a URL for doing a search for Virginia, for example (but without long &amp; lat)? I am using a form to accept users&#8217; desired search criteria, and thus can inject a State or zip into a URL to give them their customized TEC-P results page, but can\u2019t find proper URL construction format.<\/p>\n<p>http:\/\/wpshindig.com\/events\/map\/?action=tribe_geosearch&#038;tribe_paged=1&#038;tribe_event_display=list&#038;featured=false&#038;tribe-bar-geoloc=virginia<\/p>\n<p>\u2026doesn\u2019t work. Same as Courtney&#8217;s above, but I was trying it with the removal of &#8220;tribe-bar-geoloc-lat=&#8230;&#8230;..&amp; tribe-bar-geoloc-lng=&#8230;&#8230;..&#8221;, but it shows all Events. I obviously don&#8217;t have that info from my user&#8217;s form.<\/p>\n<p>I only use list (not maps), btw, if that matters.<\/p>\n<p>Thank you kindly!<\/p>\n<p>Sam<\/p>\n","protected":false},"template":"","class_list":["post-1291245","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>URL construction for geolocation\/NEAR search\/FILTER BAR in the crossfire -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"URL construction for geolocation\/NEAR search\/FILTER BAR in the crossfire -\" \/>\n<meta property=\"og:description\" content=\"Hi &#8211; Having visited the TEC-P forum with the subject Search by Location, I have noticed a few things about the link Courtney provided to help out that user. She created the following example off TEC&#8217;s test site. In it, the user is able to view the event(s) from the state of Virginia. Great! That [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-06-07T17:31:39+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/\",\"name\":\"URL construction for geolocation\/NEAR search\/FILTER BAR in the crossfire -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-05-31T13:57:59+00:00\",\"dateModified\":\"2017-06-07T17:31:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"URL construction for geolocation\/NEAR search\/FILTER BAR in the crossfire\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"URL construction for geolocation\/NEAR search\/FILTER BAR in the crossfire -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/","og_locale":"en_US","og_type":"article","og_title":"URL construction for geolocation\/NEAR search\/FILTER BAR in the crossfire -","og_description":"Hi &#8211; Having visited the TEC-P forum with the subject Search by Location, I have noticed a few things about the link Courtney provided to help out that user. She created the following example off TEC&#8217;s test site. In it, the user is able to view the event(s) from the state of Virginia. Great! That [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/","article_modified_time":"2017-06-07T17:31:39+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/","name":"URL construction for geolocation\/NEAR search\/FILTER BAR in the crossfire -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-05-31T13:57:59+00:00","dateModified":"2017-06-07T17:31:39+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/url-construction-for-geolocationnear-searchfilter-bar-in-the-crossfire\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"URL construction for geolocation\/NEAR search\/FILTER BAR in the crossfire"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1291245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1291245\/revisions"}],"predecessor-version":[{"id":1294599,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1291245\/revisions\/1294599"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1291245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}