From: Steve Sutton Date: Tue, 21 Jun 2016 18:55:49 +0000 (-0400) Subject: fix for the function file X-Git-Tag: v1.0.0^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ff2ba8e4212af2e70e1764906fe9f23d91785c51;p=WP-Themes%2FDiscoverKZOO.git fix for the function file bug fix --- diff --git a/functions.php b/functions.php index feb56c9..b9598d0 100644 --- a/functions.php +++ b/functions.php @@ -84,11 +84,8 @@ function glm_site_scripts() wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css'); if(is_front_page()) { } - if ( isset( $post ) - && ( is_front_page() || - in_array( $post->ID, array( 3193, 3194, 3195, 3196, 3197, 3200, 3309, 3303, 3315, 3307 ) ) ) - ) { - wp_enqueque_script( + if ( isset( $post ) && in_array( $post->ID, array( 3193, 3194, 3195, 3196, 3197, 3200, 3309, 3303, 3315, 3307 ) ) ) { + wp_enqueue_script( 'discover-survey', 'https://survey.vovici.com/intercept.ashx?i=209A5BC47CEE319B', null,