title: Putting JQuery into PHP file
body: <p>I am trying to put Jquery into a PHP file. I need to put a twitter feed that works perfectly when i put into a HTML file but I cant get it to work in my homepage.php file.</p>
  
  <p>It is from <a href="http://www.designchemical.com/blog/index.php/jquery/jquery-tutorial-create-a-jquery-twitter-feed-plugin/" rel="nofollow">this tutorial</a>.</p>
  
  <p>I have created the seperate javascript file and tried to echo the script but I am having no luck.</p>
  
  <p>Here is the php file:</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/jquery.twitter.feed.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/JavaScript"&gt;
      $(document).ready(function() {
          $('#twitter-feed').dcTwitterFeed({
              id: '#thepaulmac',
              tweetId: 'thepaulmac',
              retweets: false,
              replies: false,
              avatar: false,
              results: 20,
              images: 'small'
          });
      }); 
  
  &lt;/script&gt;
  
  
  &lt;?php get_header(); ?&gt;
              &lt;div id="twitter-feed"&gt;&lt;/div&gt;
  </code></pre>
  
  
  
  <p>Does anyone know what I would have to do to get this to work?</p>
  
  <p>I'd appreciate any help. </p>