title: Wordpress shortcode not working
body: <p>I built a very unique and javascript intensive theme for wordpress and now shortcodes do not work. I do not have any plugins installed, so it's not that. What did I drop from my wordpress template files that is required to use shortcodes (ie: [gallery]).</p>
  
  <p>I understand how to make shortcodes, but how does WP take your post and replace "[gallery]" when it is spitting it back out for display?</p>
  
  <p>EDIT:
  here is what I'm currently working with:</p>
  
  <pre><code>    $pagepull = $wpdb-&gt;get_results("SELECT * FROM $wpdb-&gt;posts WHERE post_type = 'page' AND post_status = 'publish' ORDER BY menu_order", ARRAY_A);
      $i = 1;
      foreach ($pagepull as $single_page){
       echo "&lt;div class=\"section\"&gt;&lt;ul&gt;&lt;li class=\"sub\" id=\"" . $i  . "\"&gt;&lt;div class=\"insection\"&gt;";
           echo $single_page['post_content'];
  $i++;
  // more code that is irrelevant...
  // more code that is irrelevant...
  // more code that is irrelevant...
      }
  </code></pre>