From 4ef627a77d92f1e20a53517dd1fedeabf2fec460 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 5 Feb 2015 09:47:18 -0500 Subject: [PATCH] Update the functions.php file --- footer.php | 3 --- functions.php | 29 ++++++++--------------------- 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/footer.php b/footer.php index 9ff2069..a3d1d69 100755 --- a/footer.php +++ b/footer.php @@ -14,9 +14,6 @@ - - - diff --git a/functions.php b/functions.php index d64446b..cb48813 100755 --- a/functions.php +++ b/functions.php @@ -51,38 +51,25 @@ function glm_site_scripts() { wp_enqueue_script( 'modernizr', - get_template_directory_uri() . '/js/vendor/modernizr.js' + get_template_directory_uri() . '/js/modernizr/modernizr.min.js' ); + wp_enqueue_script('jquery'); wp_enqueue_script( - 'jquery', - get_template_directory_uri() . '/js/vendor/jquery.js' - ); - wp_enqueue_script( - 'dollarsign', - get_template_directory_uri() . '/js/dollarsign.js' - ); - wp_enqueue_script( - 'foundation', - get_template_directory_uri() . '/js/foundation.min.js', + 'fastclick', + get_template_directory_uri() . '/js/fastclick/lib/fastclick.js', 'jquery', '1.0', true ); wp_enqueue_script( - 'pageSetup', - get_template_directory_uri() . '/js/pageSetup.js', - 'foundation', - '1.0', - true - ); - if(is_front_page()) { - wp_enqueue_script( - 'cycle_script', - get_template_directory_uri() . '/js/jquery.cycle2.min.js', + 'glm_foundation', + get_template_directory_uri() . '/js/app.js', 'jquery', '1.0', true ); + if(is_front_page()) { + } } -- 2.17.1