title: Wordpress Shortcodes not working on posts (single.php) but working on pages (page.php)
body: <p>I'm asking for help after a day of no luck in finding the solution.</p>
  
  <p>I have shortcodes inside my active plugin and they are working fine on pages but don't work on single post pages (single.php). By not working I mean completely not loading in final frontend source (no desired code and not even the shortcode snippet itself).</p>
  
  <p>I'm using a fresh install of _underscores generated theme.</p>
  
  <p>NOTE: <strong>I know it's the theme that's obstructing the shortcodes</strong> somehow because when I change the theme to twentyfifteen the shortcodes work.</p>
  
  <p>I tried about 30 solutions (using debug on, installing what the file ... no errors, no warnings)</p>
  
  <p>I would truly appreciate some help or suggestions on how to find the bug in my theme.</p>
  
  <p>Here is my setup: my single.php and content.php</p>
  
  <p>single.php</p>
  
  <pre><code>&lt;?php
  /**
   * The template for displaying all single posts
   *
   * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
   *
   * @package MyTheme
   */
  
  get_header(); ?&gt;
  
      &lt;div id="primary" class="content-area"&gt;
          &lt;main id="main" class="site-main"&gt;
  
          &lt;?php
          while ( have_posts() ) : the_post();
  
              get_template_part( 'template-parts/content', get_post_type() );
  
              the_post_navigation();
  
              // If comments are open or we have at least one comment, load up the comment template.
              if ( comments_open() || get_comments_number() ) :
                  comments_template();
              endif;
  
          endwhile; // End of the loop.
          ?&gt;
  
          &lt;/main&gt;&lt;!-- #main --&gt;
      &lt;/div&gt;&lt;!-- #primary --&gt;
  
  &lt;?php
  get_sidebar();
  get_footer();
  </code></pre>
  
  <p>content.php</p>
  
  <pre><code>&lt;article id="post-&lt;?php the_ID(); ?&gt;" &lt;?php post_class(); ?&gt;&gt;
  
      &lt;header class="entry-header"&gt;
  
          &lt;?php the_title( sprintf( '&lt;h3 class="entry-title"&gt;&lt;a href="%s" rel="bookmark"&gt;', esc_url( get_permalink() ) ), '&lt;/a&gt;&lt;/h3&gt;' ); ?&gt;
  
          &lt;?php if ( 'post' == get_post_type() ) : ?&gt;
  
          &lt;div class="post-details"&gt;
              &lt;div class="post-details-left"&gt;
                  &lt;i class="fa fa-user-circle"&gt;&lt;/i&gt; &lt;?php the_author(); ?&gt;
                  &lt;i class="fa fa-history"&gt;&lt;/i&gt; &lt;time&gt;&lt;?php the_date(); ?&gt;&lt;/time&gt;
                  &lt;i class="fa fa-sticky-note"&gt;&lt;/i&gt; &lt;?php the_category(', '); ?&gt;
                  &lt;i class="fa fa-tags"&gt;&lt;/i&gt;&lt;?php the_tags('', ', ', ''); ?&gt;
                  &lt;?php edit_post_link( 'Edit', '&lt;i class="fa fa-pencil"&gt;&lt;/i&gt;', '' ); ?&gt;
              &lt;/div&gt;
  
              &lt;div class="post-details-right"&gt;
                  &lt;div class="post-comments-badge"&gt;
                      &lt;a class="post-comments-badge-link" href="&lt;?php comments_link(); ?&gt;"&gt;&lt;i class="fa fa-comments"&gt;&lt;/i&gt; &lt;?php comments_number( 0, 1, '%'); ?&gt;&lt;/a&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  
          &lt;/div&gt;
  
          &lt;?php endif; ?&gt;
      &lt;/header&gt;
  
  
      &lt;?php if ( has_post_thumbnail() ) { ?&gt;
      &lt;div class="post-image"&gt;
          &lt;div class="post-image-hvr"&gt;
              &lt;?php the_post_thumbnail(); ?&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;?php } ?&gt;
  
  
      &lt;div class="post-excerpt"&gt;
          &lt;?php the_excerpt(); ?&gt;
      &lt;/div&gt;
  
  &lt;/article&gt;
  </code></pre>
  
  <p>Again, any suggestions are very welcome!</p>