title: Inserting code after each post in WordPress
body: <p>I am wanting to insert some code after each post in WordPress... I know you can do it after this for example, in single.php</p>
  
  <pre><code>&lt;?php the_content(); ?&gt;
  </code></pre>
  
  <p>However if I do that it puts it in the wrong place.. an example post is here: <a href="http://www.hardwareblog.com/348/computer-hardware/top-10-gadget-gift-ideas-to-avoid-this-christmas/" rel="nofollow">http://www.hardwareblog.com/348/computer-hardware/top-10-gadget-gift-ideas-to-avoid-this-christmas/</a>  -- if I put it AFTER the code example above it will be placed AFTER the sociable &amp; facebook links..... I want to put it BEFORE those, so it's RIGHT AFTER the post.</p>
  
  <p>I did some checking &amp; testing.. this code here from post-template.php</p>
  
  <pre><code>function the_content($more_link_text = null, $stripteaser = 0) {
      $content = get_the_content($more_link_text, $stripteaser);
      $content = apply_filters('the_content', $content);
      $content = str_replace(']]&gt;', ']]&amp;gt;', $content);
      echo $content;
  }
  </code></pre>
  
  <p>It seems the facebook &amp; sociable code is inserted into the output within the apply_filters() function.... though I can't work out where.</p>
  
  <p>Any help on what I am trying to do?</p>