title: Using inline JQuery when loading it in the footer
body: <p>I am using WordPress and loading my JQuery just before the <code>&lt;/body&gt;</code> tag as recommended.</p>
  
  <p>I need to use some inline JQuery on one of the pages as I want to pass a PHP variable to the JQuery. But I get the:</p>
  
  <p><code>Uncaught ReferenceError: $ is not defined</code> </p>
  
  <p>Because JQuery has not been loaded yet.</p>
  
  <p>Is there a method of getting around this?</p>
  
  <p>I have thought of just loading JQuery in the head (don't really want to do this) or using AJAX to pass the variable (seems like too much if there's a simpler method).</p>