From: Steve Sutton Date: Thu, 5 Feb 2015 14:47:18 +0000 (-0500) Subject: Update the functions.php file X-Git-Tag: v1.0.0^2~60 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=4ef627a77d92f1e20a53517dd1fedeabf2fec460;p=WP-Themes%2FTomsMomsCookies.git Update the functions.php file --- 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()) { + } }