Forum Replies Created
-
AuthorPosts
-
scorman
MemberOh, I find this to add in the JS file:
1234var options = {types: ['(cities)'],componentRestrictions: { country: 'be' }}It works, but if I take the city “Halle”, the search says “No results”.
But if I search “Halle, Belgium”, then I get my results.
Any idea what’s the problem ?
Is there a way to add the country name behind the autocomplete ?
scorman
MemberCan you tell me how do it please ?
scorman
MemberPlease UP !
It’s really important :/I can edit some javascript if needed, but I really need to limit that autosuggest to cities from Belgium.
Thank you Eyal !
scorman
Member=yes, if you tell me, I can edit the javascript. thank you !
scorman
MemberMaybe via functions.php or javascript ?
scorman
MemberForget it. I’ve make it works 😉
But the submit button is automatically translate I can see. But not the search input label. How can I do this ? A PO file ?
scorman
MemberHello !
Great, thank you.
I translate my custom posts with WPML.
The single page works great. I got the additional information in the good language.I’ve create a widget for every language with a different GEO form to specify the good search label.
But in the other language I ‘ve got no results :/What should I do ?
Thank you!
-
AuthorPosts