title: WP the_content() is not displayed in single template for custom post type
body: <p>I have this very weird bug with Word Press <code>single-posttype.php</code> template.
  The template renders any fields but the WYSIWYG type.</p>
  
  <p>So first it wasn't rendering <code>the_content()</code> so I created custom field to test and the template renders it if it's just a text area, text field, boolen or whatever. But as soon as the field is WYSIWYG and contains paragraphs, the field simply is not shown.</p>
  
  <p>Basically I have <code>single-posttype.php</code> which has </p>
  
  <pre><code>&lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;
    &lt;?php the_content(); ?&gt;
  &lt;?php endwhile; endif; ?&gt;
  </code></pre>
  
  <p>This post type supports editor.</p>
  
  <p><code>single-post.php</code> and other templates display everything correctly. Any ideas?</p>
  
  <p><strong>UPDATE (workaround):</strong> </p>
  
  <p>So I didn't find any proper solution for this problem, that's why I had to come up with a workaround. Since neither <code>the_content()</code> function nor filter would render content text in my template, I used raw content through <code>get_the_content()</code> (which still contained html tags like <code>&lt;h1&gt;</code>) and applied <code>str_replace()</code> to add <code>&lt;br /&gt;</code> instead of line breaks. In CSS I styled this content div the same way as paragraph, and got the same final look in the template.
  Here's the code for content (based on example from php.net):</p>
  
  <pre><code> $str = get_the_content();
   $order   = array("\r\n", "\n", "\r");
   $replace = '&lt;br /&gt;';
  
   $newstr = str_replace($order, $replace, $str);
   echo $newstr;
  </code></pre>