• My site uses SSL and the Google Maps shortcode would not work due to the http url used for googlemaps.
    I found the file to modify;
    shortcodes-ultimate/inc/core/shortcodes.php
    This is in your plugins folder.

    The issue is line 974 of this file;
    return '<div class="su-gmap su-responsive-media-' . $atts['responsive'] . su_ecssc( $atts ) . '"><iframe width="' . $atts['width'] . '" height="' . $atts['height'] . '" src="https://maps.google.com/maps?q=' . urlencode( su_scattr( $atts['address'] ) ) . '&output=embed"></iframe></div>';
    Change this;
    https://maps.google.com/maps?q='
    to this;
    https://maps.google.com/maps?q='
    or this;
    //maps.google.com/maps?q='

    • This topic was modified 7 years, 11 months ago by RayBoyd1455.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bug in Google Map shortcode SSL HTTPS’ is closed to new replies.