title: How to add JavaScript to WordPress PHP file?
body: <p>I would like to reference JavaScript files from my root folder in a WordPress PHP file, however when I load the page, the JavaScript is being ignored.  Is there a WordPress restriction on referencing <code>.js</code> files? Am I not correctly referencing JavaScript for PHP?</p>
  
  <p>This is what I wrote (which does not work):</p>
  
  <pre><code>&lt;?php wp_footer(); ?&gt;
  &lt;script src="/files/js/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="/files/js/jquery.cycle.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>