WordPress.org

Support

Support » Plugins and Hacks » Google Calendar Widget » [Plugin: Google Calendar Widget] can you add ssl support? code to do so is attached.

[Plugin: Google Calendar Widget] can you add ssl support? code to do so is attached.

  • Mike

    @malatmalsgmailcom

    Just need to change ko-calendar.php a little…

    line 11
    from:
    define('KO_CALENDAR_URL', WP_PLUGIN_URL . '/google-calendar-widget');
    to:
    define('KO_CALENDAR_URL', plugins_url() . '/google-calendar-widget');

    line 28
    add https instead of http or use is_ssl as below…

    line 133

    if (is_ssl()) {
       wp_enqueue_script('google', 'https://www.google.com/jsapi', false, NULL);
    } else {
       wp_enqueue_script('google', 'http://www.google.com/jsapi', false, NULL);
    }

    http://wordpress.org/extend/plugins/google-calendar-widget/

  • The topic ‘[Plugin: Google Calendar Widget] can you add ssl support? code to do so is attached.’ is closed to new replies.
Skip to toolbar