Viewing 1 replies (of 1 total)
  • Keith

    (@kkatpki)

    You can use the following string replace against the html returned by the plugin shortcode handler — it will turn http links into protocol relative/agnostic links. In short, it will work on both http and https, without any future changes.

    echo str_replace('https://', '//', do_shortcode('[simply_instagram]'));

Viewing 1 replies (of 1 total)
  • The topic ‘From HTTP to HTTPS’ is closed to new replies.