Update FontAwesome and jQuery
This commit is contained in:
parent
16e8b76d01
commit
56c204685d
|
@ -41,10 +41,10 @@ function barebones_scripts() {
|
|||
* For IE8 to play nice, you'll need to include your CSS here, for example:
|
||||
*
|
||||
* wp_enqueue_style( 'fonts', '//fonts.googleapis.com/css?family=Font+Family' );
|
||||
* wp_enqueue_style( 'icons', '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css' );
|
||||
* wp_enqueue_style( 'icons', '//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css' );
|
||||
*/
|
||||
wp_deregister_script( 'jquery' );
|
||||
wp_register_script( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js', false, '1.11.1', true );
|
||||
wp_register_script( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js', false, '1.11.2', true );
|
||||
wp_enqueue_script( 'jquery' );
|
||||
wp_enqueue_script( 'script', get_stylesheet_directory_uri() . '/js/script.min.js', array( 'jquery' ), null, true );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue