Make this plugin work with SSL sites
-
When i used this plugin with my secure site, it didnt work. Here is the solution:
In the file – cf7-google-map/public/class-cf7-googleMap-public.php
Change –
wp_register_script( ‘google-maps-api-admin’, ‘https://maps.google.com/maps/api/js?key=’ . $google_map_api_key . ‘&libraries=places’, array( ‘jquery’ ), ‘1.0’, true );
To –
wp_register_script( ‘google-maps-api-admin’, ‘//maps.google.com/maps/api/js?key=’ . $google_map_api_key . ‘&libraries=places’, array( ‘jquery’ ), ‘1.0’, true );
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Make this plugin work with SSL sites’ is closed to new replies.