jQuery isn't being loaded at all now which is why you are getting all those errors, can you edit the code in your header.php to this
<?php
add_action('wp_enqueue_scripts', 'loading_jquery');
if ( is_singular() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
wp_enqueue_script( 'jquery' );
wp_head();
?>
<script>var $ = jQuery.noConflict();</script>
and I presume the earlier code was from your functions.php, that can be changed to
function loading_jquery() {
wp_enqueue_script( 'jquery' );
}
or commented out if no other functions reference it
Posted 11 years ago on Monday June 24, 2013 |
Permalink