The Events Calendar – HTTPS and Missing Google Map on Event Detail Page

Problem: Google Map not displaying on The Events Calendar WordPress plugin’s Event detail page on FireFox and Chrome. It displays fine on Safari.

  • Google Map not displaying because of a non-secure HTTP API link.
  • Error message in FireFox (detected via Console): “http://maps.google.com/maps/api/js?sensor=false”

The Events Calendar, v 3.1.
WordPress, v 3.6.1

Solution: FIX for missing Google Map (on FF, Chrome) on Event’s detail page.

Add to functions.php file:

add_filter( 'tribe_get_embedded_map', 'tribe_fix_google_maps_https' );
function tribe_fix_google_maps_https( $html ) {
	if ( is_ssl() ) {
		$html = str_replace( 'http://', 'https://', $html );
	return $html;

Solution from plugin author

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *