|
@@ -39,7 +39,9 @@ add_filter( 'script_loader_src', 'dw_remove_wp_ver_css_js', 9999 );
|
|
|
add_action( 'wp_enqueue_scripts', 'dw_scripts' );
|
|
|
function dw_scripts() {
|
|
|
global $post;
|
|
|
- wp_enqueue_script('jquery', true);
|
|
|
+ wp_deregister_script('jquery');
|
|
|
+ wp_enqueue_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js', array(), false, true);
|
|
|
+ wp_enqueue_script( 'jquery', '', '', '', true );
|
|
|
wp_enqueue_style( 'style', get_stylesheet_uri() );
|
|
|
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
|
|
wp_enqueue_script( 'comment-reply' );
|