Update functions.php
This commit is contained in:
parent
f966959c0b
commit
08e4a345c7
|
@ -16,7 +16,7 @@ remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
|
|||
|
||||
function theme_scripts() {
|
||||
wp_deregister_script( 'jquery' );
|
||||
wp_register_script( 'jquery', ( 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' ), false, '1.7.1', true);
|
||||
wp_register_script( 'jquery', ( '//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' ), false, '1.7.1', true);
|
||||
wp_enqueue_script( 'jquery' );
|
||||
wp_enqueue_script( 'script', get_stylesheet_directory_uri() . '/js/script.js', array( 'jquery' ), null, true );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue