title: Archive page not showing content that's defined in its file
body: <p>I have a custom post type called <code>How to videos</code>. Here is how I've registered it:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>register_post_type(
    'How to videos',
    theme_build_post_args(
      // $slug, $singular, $plural
      'how-to-videos', 'How to videos', 'How to videos',
      array(
        'menu_icon'     =&gt; 'dashicons-video-alt3',
        'menu_position' =&gt; 20,
        'has_archive' =&gt; true,
        'public' =&gt; false,
        'supports' =&gt; array('title','thumbnail'),
      )
    )
  );</code></pre>
  </div>
  </div>
  </p>
  <p>I have created a file called <code>archive-how-to-videos.php</code> which currently looks like this:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body class="listingPage"&gt;
    &lt;?php get_header(); ?&gt;
      this is a test
    &lt;?php get_footer(); ?&gt;
  &lt;/body&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I have flushed the permalinks multiple times via settings &gt; permalinks in the WordPress dashboard. But, whenever I try to access <code>/how-to-videos</code>, the content doesn't display as defined in the file? For example, I have &quot;this is a test&quot; in my <code>archive-how-to-videos.php</code> file, but I cannot see it on the page (not even via inspecting the code on the page).</p>
  <p>Currently, it only shows the header and footer, nothing defined in-between?</p>
  <p><code>theme_build_post_args</code> function below:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>function theme_build_post_args( $slug, $singular = 'Post', $plural = 'Posts', $args = array() ){
      $builder = new theme_PTTaxArgBuilder;
      return $builder-&gt;buildPostArgs($slug, $singular, $plural, $args);
  }</code></pre>
  </div>
  </div>
  </p>