From: Anthony Talarico Date: Fri, 13 Apr 2018 18:46:17 +0000 (-0400) Subject: testing enqueue X-Git-Tag: v1.0.0^2~22 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=ffd1f65adfc531ff4b7ab0a2f4f647d54f355b39;p=WP-Themes%2Fnpoint.git testing enqueue --- diff --git a/functions.php b/functions.php index 26c28e7..4b86aed 100644 --- a/functions.php +++ b/functions.php @@ -172,7 +172,12 @@ function accesspress_parallax_scripts() { wp_enqueue_style('accesspress-parallax-woocommerce',get_template_directory_uri().'/woocommerce/ap-parallax-style.css'); wp_enqueue_style( 'accesspress-parallax-style', get_stylesheet_uri() ); wp_enqueue_style( 'accesspress-parallax-responsive', get_template_directory_uri() . '/css/responsive.css' ); - + if (of_get_option('enable_animation') == '1'){ + echo "animation"; + } + if(is_front_page()){ + echo "FRONT"; + } if (of_get_option('enable_animation') == '1' && is_front_page()) : wp_enqueue_script('wow', get_template_directory_uri() . '/js/wow.js', array('jquery'), '1.0', true); endif;