jCarouselLite not imported on Pages?
I have a few pages that I want to use the Featured Ads slider, and noticed my javascript wasn't working on those pages. I did some digging and found that the javascript error was due to jCarouselLite not being imported. More digging and I found this
Code:
if ( get_option($app_abbr.'_enable_featured') == 'yes' && is_home() ) {
wp_enqueue_script('jqueryeasing', get_bloginfo('template_directory').'/includes/js/easing.js', array('jquery'), '1.3');
wp_enqueue_script('jcarousellite', get_bloginfo('template_directory').'/includes/js/jcarousellite_1.0.1.js', array('jquery', 'jquery-ui-slider'), '1.0.1');
}
What I'm wondering then, is if this "is_home" check will be reconsidered. It's unfortunate that the featured ads slider can only be on the home page. Will there be any significant performance issues if I take this is_home check out and have jcarousellite loaded all the time?