Frequently asked questions

How do I restrict Autocomplete to a Specific Country

4min
overview this section covers how to restrict the autocomplete results of a store locator search to only return results from a specific country prerequisites the following plugin/s need to be installed and active wp go maps wp go maps pro add on enabling the setting there are times when site owners need to restrict the store locator autocomplete list to show only locations in a specific country this is done using the store locator settings panel please navigate as follows wp go maps > maps (edit your chosen map) > settings > store locator > advanced > restrict to country please select the country you would like to restrict search results to from the drop down "restrict to country" option then please save map setting in action when a visitor types in the search field of the store locator , only results in your selected country are shown in the results drop down in the example below, the autocomplete suggestions for paris are restricted to addresses that contain the word paris in the uk only as per the country restriction that was set (united kingdom)