How get scripts to enqueue via https?
-
I just installed SSL for my checkout page but Ajaxize does not recognize this and is enqueueing the scripts via http and thus they won’t load on any https pages.
How can I change the following for Ajaxize to recognize https:
define( ‘PLUGIN_DIR’, dirname(__FILE__).’/’ );
wp_enqueue_script ( “ajaxize_this”, path_join(WP_PLUGIN_URL, basename( dirname( __FILE__ ) ).”/ajaxize_this.js”), array( ‘jquery’, ‘jquery-query’ ) );
Thanks!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘How get scripts to enqueue via https?’ is closed to new replies.