Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #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.

    #995751

    Hey acscreativenew,

    Have you added your billing details, to your google account?

    Best regards,
    Basilis

    #995754

    Sorry, forgot to include that. Yes I do have that setup.

    #995969

    Hi acscreativenew,

    Best regards,
    Victoria

    #998533

    Im 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.

    #998788

    Hi acscreativenew,

    Do you mean the map is working now?

    Best regards,
    Victoria

    #999412

    no, 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.

    #999462

    Hi acscreativenew,

    How can I access the Dashboard? I logged in to the account, but that’s not what I was looking for.

    Best regards,
    Victoria

    #999467

    After you login if you go to the URL bar just type in wp-admin to get to the WP dashboard.

    #999490

    Hi acscreativenew,

    Thanks.

    Best regards,
    Victoria

    #999492

    So 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.

    #999611

    Hi,

    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.

    #1000582

    Hi,

    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,
    Vinay

    #1000783

    OK, 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 20602

    https://www.latlong.net/convert-address-to-lat-long.html

    The map is showing up in Antarctica.

    #1001194

    Hi,

    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,
    Vinay

    #1001433

    Hi,

    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
    -Dan

    #1001522

    Hi 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

Viewing 17 posts - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.