Support » Plugin: Shortcodes Ultimate » Bug in Google Map shortcode SSL HTTPS

  • 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="http://maps.google.com/maps?q=' . urlencode( su_scattr( $atts['address'] ) ) . '&output=embed"></iframe></div>';
    Change this;
    http://maps.google.com/maps?q='
    to this;
    https://maps.google.com/maps?q='
    or this;
    //maps.google.com/maps?q='

    • This topic was modified 2 years, 10 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.