title: need help applying filter to php echo
body: <p>I created a custom post type in Wordpress. The visual editor shows paragraph breaks, but when viewing the post these breaks disappear, unlike in regular posts. </p>
  
  <p>This is my content code in the single-custompostype.php file:</p>
  
  <pre><code> &lt;?php echo $content = get_the_content(); ?&gt;
  </code></pre>
  
  <p>I read that I should add this to it:</p>
  
  <pre><code>$content = apply_filters("the_content",$post-&gt;post_content);
  </code></pre>
  
  <p>But when I add it like so, there's no effect:</p>
  
  <pre><code>&lt;?php $content = apply_filters("the_content",$post-&gt;post_content); echo $content = get_the_content(); ?&gt;
  </code></pre>
  
  <p>What should I be doing differently?</p>