Title: Datepicker Error on HTTPS Sites
Last modified: May 3, 2018

---

# Datepicker Error on HTTPS Sites

 *  [scientision](https://wordpress.org/support/users/scientision/)
 * (@scientision)
 * [8 years ago](https://wordpress.org/support/topic/datepicker-error-on-https-sites/)
 * Datepicker fields dont work on https sites. Gives the following console error.
 * `Blocked loading mixed active content “http://www.Domain.com/wp-content/plugins/
   custom-field-template/js/datePicker.css”`
 * The css file is including as unsecured. I bypassed by altering custom-field-template.
   php:366 removing the wp_guess_url function.
 * `echo '<link rel="stylesheet" type="text/css" href="' . '/' . PLUGINDIR . '/'.
   $plugin_dir . '/js/datePicker.css" />'."\n";`

The topic ‘Datepicker Error on HTTPS Sites’ is closed to new replies.

 * ![](https://ps.w.org/custom-field-template/assets/icon-256x256.png?rev=1966286)
 * [Custom Field Template](https://wordpress.org/plugins/custom-field-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-field-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-template/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [scientision](https://wordpress.org/support/users/scientision/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/datepicker-error-on-https-sites/)
 * Status: not resolved