Viewing 1 replies (of 1 total)
  • Plugin Author Pat Hawks

    (@pathawks)

    The plugin already serves the https link if WordPress is serving the page over a secure connection.

    if (is_ssl()) {
    $embed = '<iframe src="https://docs.google.com/viewer?url='.urlencode($url).'&embedded=true" class="'.$class.'"';
    } else {
    $embed = '<iframe src="http://docs.google.com/viewer?url='.urlencode($url).'&embedded=true" class="'.$class.'"';
    }

    If you are having problems, it may be with your WordPress configuration.

Viewing 1 replies (of 1 total)
  • The topic ‘Resolve HTTPS mixed content problem’ is closed to new replies.