title: Single.php not displaying post content on WordPress site
body: <p>The theme I've installed isn't displaying post content - nothing other than the post title, categories etc. (<a href="http://www.laredohospitality.com/new-locations-opening/" rel="nofollow">http://www.laredohospitality.com/new-locations-opening/</a>)
  The summary doesn't seem to have a problem - <a href="http://www.laredohospitality.com/category/job-posting/" rel="nofollow">http://www.laredohospitality.com/category/job-posting/</a></p>
  
  <p>When switching over to TwentyTwelve, Thirteen, etc the posts display without a hitch so I know it's this theme buggering it up.</p>
  
  <p>I've read up on Themeforest's Support but to no avail - lots of negative critique on this Theme's code to say the least but unless I can change my client's mind this is the theme they're happy with.</p>
  
  <p>I tried a very basic single.php and that worked but I cannot implement this theme's sidebar and fancy extras without breaking that code.</p>
  
  <p>Here is the single.php without any of my attempts at fixing it - any help would be greatly appreciated. Thank you!</p>
  
  <pre><code>&lt;?php get_header(); ?&gt;
      &lt;!-- BEGIN PAGE TITLE --&gt;
      &lt;div id="page-title-wrap"&gt;
          &lt;?php 
              if (have_posts()) : while (have_posts()) : the_post(); 
              global $menuItem;
              if ( post_is_in_descendant_category( 12 ) ) {
                  $menuItem=true;
              }
              else {
                  $menuItem=false;
              }
          ?&gt;
          &lt;div id="page-title"&gt;
              &lt;div id="page-title-content"&gt;&lt;?php 
                      if ($menuItem) {
                          $pageId = 236;
                      }
                      else {
                          $pageId = 150;
                      }
                      $page=get_page($pageId);
                      echo $page-&gt;post_title; 
                  ?&gt;
                  &lt;img id="left-ornament" src="&lt;?php echo get_template_directory_uri() ?&gt;/images/left_ornament.png" alt="Left ornament" /&gt;
                  &lt;img id="right-ornament" src="&lt;?php echo get_template_directory_uri() ?&gt;/images/right_ornament.png" alt="Right ornament" /&gt;
              &lt;/div&gt;
              &lt;div id="page-title-descr"&gt;&lt;?php echo "(".get_post_meta(150, "description", true).")"; ?&gt;&lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;!-- END PAGE TITLE --&gt;
      &lt;div id="main-content"&gt;
          &lt;!-- BEGIN CONTENT --&gt;
          &lt;div id="content-left"&gt;
              &lt;div class="post-wrap"&gt;
                  &lt;?php if (!$menuItem) { ?&gt;
                  &lt;div class="post-date"&gt;
                      &lt;span class="day"&gt;&lt;?php the_time('d'); ?&gt;&lt;/span&gt; 
                      &lt;span class="month"&gt;&lt;?php the_time('M'); ?&gt;&lt;/span&gt; 
                      &lt;span class="year"&gt;&lt;?php the_time('Y'); ?&gt;&lt;/span&gt;
                  &lt;/div&gt;
                  &lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;div class="post-header"&gt;&lt;?php the_title() ?&gt;&lt;/div&gt;&lt;/a&gt;
                  &lt;div class="post-info-wrap"&gt;POST BY: &lt;span class="author-name"&gt;&lt;?php the_author_posts_link() ?&gt;&lt;/span&gt; in &lt;a href=""&gt;&lt;?php the_category(', '); ?&gt;&lt;/a&gt; with &lt;?php if ( get_comments_number() != 0 ) { ?&gt;&lt;a href="&lt;?php echo get_permalink() . '#comment-section' ?&gt;"&gt;&lt;?php comments_number(); ?&gt;&lt;/a&gt;&lt;?php } else { comments_number('0 Comments'); }?&gt; &lt;/div&gt;
                  &lt;?php } else { ?&gt;
                  &lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;div class="post-header without-date"&gt;&lt;?php the_title() ?&gt;&lt;/div&gt;&lt;/a&gt;
                  &lt;?php } ?&gt;
                  &lt;div class="post-descr"&gt;
                      &lt;?php 
                          if ( has_post_thumbnail() ) {
                              the_post_thumbnail('large');
                          } 
                          the_content(' '); 
                          endwhile; endif;
  
                      ?&gt;
                  &lt;/div&gt;
                  &lt;div class="divider"&gt;&lt;/div&gt;
              &lt;/div&gt;
              &lt;?php 
                  comments_template(); 
                  if ($menuItem) {
                      $categories = get_categories ( array( 'type' =&gt; 'post', 'child_of' =&gt; 12, 'order_by' =&gt; 'id') );
                      foreach ($categories as $category) {
                          query_posts( array( 'cat' =&gt; $category-&gt;term_id, 'post_type' =&gt; 'post') );
                          if ( have_posts() ) : while ( have_posts() ) : the_post();
                          $custom_fields = get_post_custom(); 
                          global $featuredDishes;
                          if ( $custom_fields['featured']==true ) {
                              $featuredDishes.="&lt;img src='".get_template_directory_uri()."/images/star.png' alt='Star Icon' class='sidebar-popular-star' /&gt;";
                              $featuredDishes.="&lt;a href='".get_permalink()."'&gt;".the_title('','',false)."&lt;/a&gt;";
                              $featuredDishes.="&lt;div class='sidebar-desc'&gt;".get_post_meta(get_the_ID(), "ingredients", true)."&lt;/div&gt;;";
                          }
                          endwhile; endif;
                      }
                  }
                  else {
                      //Prepare data for "Popular Posts" section
                      query_posts( array( 'cat' =&gt; "-12,-17", 'post_type' =&gt; 'post', 'posts_per_page' =&gt; -1 ) );
                      $g=0;
                      global $popularPosts;
                      if ( have_posts() ): while ( have_posts() ) : the_post();
                      if ( get_comments_number() &gt; 0 ) {
                          $popularPosts[$g]['value'] = '&lt;img src="'.get_template_directory_uri(). '/images/star.png" alt="Star icon" class="sidebar-popular-star" /&gt;';
                          $popularPosts[$g]['value'].= '&lt;a href="'.get_permalink().'" title="'.the_title('','',false).'"&gt;'.the_title('','',false).'&lt;/a&gt; ';
                          $popularPosts[$g]['value'].= '&lt;div class="sidebar-desc"&gt;by ' .get_the_author(). ', '.get_the_time('d M y').'&lt;/div&gt;';
                          $popularPosts[$g]['count'] = get_comments_number();
                      }
                      $g++;
                      endwhile;endif;
                      wp_reset_query();
                      // Sort post by comments count
                      function compare_count($a, $b){
                          return strnatcmp( $b['count'], $a['count'] );
                      }
                      usort($popularPosts, 'compare_count');
                  }
              ?&gt;
          &lt;/div&gt;
          &lt;!-- END CONTENT --&gt;
          &lt;!-- BEGIN SIDEBAR --&gt;
          &lt;?php if (!$menuItem) { ?&gt;
          &lt;div id="content-right" class="addictional-contact"&gt;
              &lt;?php get_sidebar('blog') ?&gt;
          &lt;/div&gt;
          &lt;?php } else { ?&gt;
          &lt;div id="content-right" class="addictional-contact"&gt;
              &lt;?php get_sidebar('menu') ?&gt;
          &lt;/div&gt;
          &lt;?php } ?&gt;
          &lt;!-- END SIDEBAR --&gt;
      &lt;/div&gt;
  </code></pre>