title: WP shortcode outputs shortcode as text
body: <p>I'm trying to use shortcode in post to display gallery but on website it puts out shortcode itself as text.<br><br>I'm using</p>
  
  <pre><code>&lt;?php the_content();?&gt;
  </code></pre>
  
  <p>in php file.<br><br>
  Same shortcode works well with</p>
  
  <pre><code>&lt;?php echo do_shortcode('[shortcode here]')?&gt;
  </code></pre>
  
  <p>but in this case I need it to be shortcode in post editor.</p>