WordPress.org

Ready to get started?Download WordPress

Forums

Google Calendar Widget
can you add ssl support? code to do so is attached. (1 post)

  1. Mike
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic