perryazevedo
Forum Replies Created
-
Is there any timeline for getting this implemented? I need the ability to make sure the “New User? Click here to register” never appears on a login page.
Ah yes. By adding it into the functions.php file, I introduce a new error:
You have included the Google Maps API multiple times on this page. This may cause unexpected errors.I just tried adding the following to my functions.php file without any success:
add_action( 'wp_enqueue_scripts', 'add_google_maps_javascript' ); function add_google_maps_javascript() { wp_enqueue_script( 'twentyfifteen-maps-google-maps', 'https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=places&signed_in=true&key=MY_API_KEY', array(), '1.0.0', true ); }Any suggestions?
Looks like I’m not calling Google Maps API in the functions.php file. I’m simply using a shortcode for the map in a template php file. The maps seem to load on the website, but not in the wp-admin panel of the plugin itself.
Jarryd,
I’m having this same issue. I have added an API key, my requests aren’t anywhere near the 25,000 per day and I now get a gray map with the same error.
The JS console is saying two things:
- RefererNotAllowedMapError – But I’ve added the correct domains in Google’s API settings.
- The second is: Google Maps API warning: RetiredVersion https://developers.google.com/maps/documentation/javascript/error-messages#retired-version