Based on your Edit 3:
In response to Chip Bennett here is the call found in functions.php of my theme.
wp_deregister_script('jquery'); wp_enqueue_script('jquery');
I see two issues:
-
You need to put your enqueue inside a callback, hooked into
wp_enqueue_scripts
(for the frontend) oradmin_enqueue_scripts
(for the admin back-end), like so:<?php function wpse45377_enqueue_scripts() { wp_deregister_script('jquery'); wp_enqueue_script('jquery'); } add_action( 'wp_enqueue_scripts', 'wpse45377_enqueue_scripts' ); ?>
-
You’re deregistering jQuery, without re-registering it. I would recommend not de-registering jQuery; but if you must (and only if you absolutely must), you have to register it again before you can use it. I would recommend simply removing the
deregister_script()
call entirely:<?php function wpse45377_enqueue_scripts() { wp_enqueue_script('jquery'); } add_action( 'wp_enqueue_scripts', 'wpse45377_enqueue_scripts' ); ?>
That should fix your problem, and would explain why jQuery seems to have just “disappeared”: you made it disappear, by de-registering it. 🙂
Edit
Looking at your source, you’ve got jQuery scripts outputting in your document head before your jQuery is being linked:
<script type="text/javascript">jQuery.noConflict();
/* <![CDATA[ */
var tb_pathToImage="http://elitetradersgroup.com.au/wp-includes/js/thickbox/loadingAnimation.gif";
var tb_closeImage="http://elitetradersgroup.com.au/wp-includes/js/thickbox/tb-close.png";
/* ]]> */
</script>
<!-- iMember360 -->
<meta name="generator" content="iMember360 (v3.3.012) for WordPress 3.3.1" />
<link title="Membership site system for WordPress and Infusionsoft" type="text/html" rel="help" hreflang='en' href="http://www.iMember360.com" />
<script type="text/javascript">
var tb_pathToImage="http://elitetradersgroup.com.au/wp-includes/js/thickbox/loadingAnimation.gif";
var tb_closeImage="http://elitetradersgroup.com.au/wp-includes/js/thickbox/tb-close.png";
function payf_popup() {
tb_show('Notice:','#TB_inline?height=300&width=400&inlineId=PayfInfoDiv');
}
</script>
<!-- /iMember360 -->
<link rel="alternate" type="application/rss+xml" title="Elite Traders Group » Feed" href="http://elitetradersgroup.com.au/feed/" />
<link rel="alternate" type="application/rss+xml" title="Elite Traders Group » Comments Feed" href="http://elitetradersgroup.com.au/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="Elite Traders Group » Home Comments Feed" href="http://elitetradersgroup.com.au/home/feed/" />
<link rel="stylesheet" id='thickbox-css' href="http://elitetradersgroup.com.au/wp-includes/js/thickbox/thickbox.css?ver=20111117" type="text/css" media="all" />
<link rel="stylesheet" id='theme-my-login-css' href="http://elitetradersgroup.com.au/wp-content/plugins/theme-my-login/theme-my-login.css?ver=6.1.4" type="text/css" media="all" />
<script type="text/javascript" src="http://elitetradersgroup.com.au/wp-includes/js/jquery/jquery.js?ver=1.7.1"></script>
Notice that you have scripts outputting before the last line of the above code, which is:
<script type="text/javascript" src="http://elitetradersgroup.com.au/wp-includes/js/jquery/jquery.js?ver=1.7.1"></script>
Where/how are you adding the jQuery scripts to your document head? If they are hard-coded in your document head, that’s your problem. You need to enqueue them, and make jQuery a dependency.