Hi.
They in his theme remove Jquery official and put other Jquery, besides put a JQUery UI customized. Before of put the code, you must undo these change in your theme.
Too you can deregister thoses script with wp_dequeue_script().
<?php
function timersys_custom_js() {
$jquery_theme = '';
$jqueryui_theme = '';
wp_dequeue_script($jquery_handle);
wp_dequeue_script($jqueryui_handle);
wp_enqueue_script( 'jquery' );
wp_enqueue_script( 'jquery-ui-core' );
}
add_action( 'wp_enqueue_scripts', 'timersys_custom_js', 1000 );
?>
You must change $jquery_handle
by the handle of jquery that has your theme.
You can read about handle in wp_enqueue_script()
Regards
-
This reply was modified 6 years, 4 months ago by
gonzalesc.