http://wordpress.org/extend/plugins/comprehensive-google-map-plugin/
Both Connections and Comprehensive Google Map Plugin requires the use of the Google Maps API. The Comprehensive Google Map Plugin has a function which looks for other instances where the Google Maps API has been registered and if it finds one, it unregisters it. This will completely break templates [and any other plugin, actually] which require the Google Maps API because the Google Maps API is registered as a dependency. If the dependency does not exists, WordPress will not load any other script which depends on the missing dependency. There is a solution…
Install the Code Snippets plugin.
Add a new snippet using this:
add_filter( 'wp_head', 'cn_market_register_google_maps_api', 999 ); function cn_market_register_google_maps_api() { global $connections; if ( ! is_ssl() ) wp_register_script( 'cn-google-maps-api', 'http://maps.googleapis.com/maps/api/js?sensor=false', array( 'jquery' ), CN_CURRENT_VERSION, $connections->options->getJavaScriptFooter() ); if ( is_ssl() ) wp_register_script( 'cn-google-maps-api', 'https://maps.googleapis.com/maps/api/js?sensor=false', array( 'jquery' ), CN_CURRENT_VERSION, $connections->options->getJavaScriptFooter() ); } |
Save and Activate the new snippet.
Now, both Connections, its template and the Comprehensive Google Map Plugin should play nicely together.
The only other option is to use another plugin. A user suggested Leaflet Maps Marker as an alternative to Comprehensive Google Map Plugin.
NOTE: This FAQ was written based on Comprehensive Google Map Plugin 9.0.20