From 5d4c0bcc6e0f12418de3abea5ebd8f01a6c57992 Mon Sep 17 00:00:00 2001 From: Mike Francis Date: Tue, 6 Aug 2013 09:28:11 +0100 Subject: [PATCH] Update functions.php --- functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.php b/functions.php index e4dca9a..529fa40 100644 --- a/functions.php +++ b/functions.php @@ -18,6 +18,7 @@ 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_enqueue_script( 'jquery' ); + wp_enqueue_script( 'script', get_stylesheet_directory_uri() . '/js/script.js', array( 'jquery' ), null, true ); } add_action( 'wp_enqueue_scripts', 'theme_scripts' );