-
AuthorPosts
-
August 9, 2018 at 5:59 pm #995635
Hi,
I have created a Google Maps API and have the Maps JavaScript API and the Geocoding API on and linked to my billing account.When I put the API in the settings and check it, its says its valid and working. When I create a map and check for the coordinates, I get an error.
August 9, 2018 at 10:02 pm #995751Hey acscreativenew,
Have you added your billing details, to your google account?
Best regards,
BasilisAugust 9, 2018 at 10:04 pm #995754Sorry, forgot to include that. Yes I do have that setup.
August 10, 2018 at 2:01 pm #995969Hi acscreativenew,
Best regards,
VictoriaAugust 17, 2018 at 5:52 pm #998533Im not sure if you can even disable the maps in the theme settings. I have the API loaded in and everything should be set up correctly on Googles end.
August 18, 2018 at 9:35 pm #998788Hi acscreativenew,
Do you mean the map is working now?
Best regards,
VictoriaAugust 20, 2018 at 3:28 pm #999412no, the map is not working. It will not fetch the coordinance. It gives me an error within enfold. Everything should be set up correctly on my Google Side. I have the three main APIs turned on and its linked to billing. Just cant seem to get it to work within Enfold. If in enter the long and lat manually it seems to display the map with no errors but it does not have the correct location.
- This reply was modified 6 years, 3 months ago by acscreativenew.
August 20, 2018 at 4:23 pm #999462Hi acscreativenew,
How can I access the Dashboard? I logged in to the account, but that’s not what I was looking for.
Best regards,
VictoriaAugust 20, 2018 at 4:29 pm #999467After you login if you go to the URL bar just type in wp-admin to get to the WP dashboard.
August 20, 2018 at 4:50 pm #999490Hi acscreativenew,
Thanks.
Best regards,
VictoriaAugust 20, 2018 at 4:52 pm #999492So where do i go from here? I have the API set up in google correct as far as I know? I have all the correct APIs turned on and my account liked to a billing account. I do not have any restrictions on it just to make things a little easier for one less thing to worry about.
August 20, 2018 at 10:14 pm #999611Hi,
So I was just plying with this again. I wanted to let you know that I removed the API i was working with and created a brand new one that is linked to billing, This is still not working. I even went as far as to take a API from another account/site that is working within enfold and put it in this site. I still get the same errors.
August 23, 2018 at 6:20 am #1000582Hi,
I created a test page and the maps work. But I’m not sure why the options to enter the city and save is not working. As a workaround please enter the lat and long info manually.
Best regards,
VinayAugust 23, 2018 at 3:15 pm #1000783OK, I tested that and its not pulling the right address, as you can see on the page you created i update the lat and long to point to
33 Industrial Park Drive
Waldorf, MD 20602https://www.latlong.net/convert-address-to-lat-long.html
The map is showing up in Antarctica.
August 24, 2018 at 1:14 pm #1001194Hi,
It appears the script is corrupt.
1. Please deactivate all plugins.
2. Access wp-content folder via a FTP client and delete the plugin folder.
3. Access wp-content/themes folder via a FTP client and delete the “enfold” folder.
4. Download a fresh copy of the theme files and upload it to the themes folder.Backup your theme and plugin settings. Your data will not be lost as it will be stored in database. Just delete and upload a fresh copy of the php files.
Best regards,
VinayAugust 24, 2018 at 11:15 pm #1001433Hi,
So I found out what it was. I did everything you said and it still was not working. I started to look in my fucntions file to see if anything in there might cause a conflict. I was correct. I use a function, I think i might have gotten it from a support form here to remove the query strings from the files loaded. This helps with load times and performance in most cases. Here is the code i was using.
// Remove Query Strings function _remove_script_version( $src ){ $parts = explode( '?', $src ); return $parts[0]; } add_filter( 'script_loader_src', '_remove_script_version', 15, 1 ); add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
Could you suggest another function to remove them that wont conflict with your theme?
Thanks
-DanAugust 25, 2018 at 8:29 am #1001522Hi Dan,
Great, glad you found the problem. I’m not sure why that would cause the issue though, there are a few other solutions here in this search: https://www.google.com/search?q=remove+script+version+wordpress&oq=remove+script+version+&aqs=chrome.0.0j69i57j0l4.6230j0j7&sourceid=chrome&ie=UTF-8
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.