problem with datepicker theme when running on https
-
hello one more time π
just ran into another issue. my wordpress site is running on SSL via https://
and then it could not load the datepicker css theme smooth from googleapis ->
wp_enqueue_style('jquery-style', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');updating the function to the following solved the problem for me:
wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');i think not using any http: or https: before the URL makes the webbrowser always use the proper protocol?
thanks again & all the best
becki
The topic ‘problem with datepicker theme when running on https’ is closed to new replies.