This support ticket is created Il y a 7 années et 4 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am trying to: Show a map to a venue on the front end. The address is added as a custom post type field. e.g. Malahide, Co. Dublin, Ireland and appears fine in Admin.
When I go to Front end it is showing somewhere in the Bahamas or somewhere.
My API dashboard reports errors but displays no info on any errors.
The console shows no errors when the page loads either.
Strange and difficult to debug.
Any ideas?
I visited this URL: hidden link
I expected to see: hidden link
with a geolocation of the venue.
This problem comes up fairly often and in my experience has always resulted from problems with the url referrer for the Google maps api key.
For testing, can you first remove any url restrictions with the api key. You may have to wait a few minutes, but I expect that when you re-visit the page on the front end you should find the map correctly centred.
You can then try to add whatever url referrer restrictions you require. The documentation for that is here: hidden link
I have found that it typically requires a certain amount of trial-and-error to get it right.