This is from my functions.php. I’ve tried removing this
wp_enqueue_script(‘jqueryui’, ‘https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js’, array(‘jquery’));
but if I do the Add reply button won’t do anything.
/*************************** Enqueue Scripts ***************************/
function gp_enqueue_scripts() {
if(!is_admin()){
wp_enqueue_script(‘jquery’);
wp_enqueue_script(‘jqueryui’, ‘https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js’, array(‘jquery’));
if(is_singular()) wp_enqueue_script(‘comment-reply’);
wp_enqueue_script(‘swfobject’, ‘http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js’);
wp_enqueue_script(‘jwplayer’, get_template_directory_uri().’/lib/scripts/mediaplayer/jwplayer.js’, array(‘jquery’));
wp_enqueue_script(‘carousel’, get_template_directory_uri().’/lib/scripts/jquery.carouFredSel.js’, array(‘jquery’));
wp_enqueue_script(‘prettyphoto’, get_template_directory_uri().’/lib/scripts/prettyPhoto/js/jquery.prettyPhoto.js’, array(‘jquery’));
wp_enqueue_script(‘jqtransform’, get_template_directory_uri().’/lib/scripts/jquery.jqtransform.js’, array(‘jquery’));
}
}
add_action(‘wp_print_scripts’, ‘gp_enqueue_scripts’);