title: Wordpress using index.php instead of archive.php
body: <p>My understanding from reading the <a href="https://developer.wordpress.org/themes/basics/template-hierarchy/" rel="noreferrer">WP template hierachy</a> was that when I set my a page as my posts page in <code>settings &gt; reading settings</code> that Wordpress should use archive.php. Instead it uses <code>index.php</code>.</p>
  
  <p>Obviously I could just put my code in <code>index.php</code> and my site will work. But it doesn't seem like best practice, and I can't find any documentation of best (or good) practice. </p>
  
  <p>Why doesn't Wordpress use <code>archive.php</code> in this circumstance?</p>
  
  <p>And would using <code>index.php</code> as my posts page have unintended consequences?</p>
  
  <p>Note: I've been using the _s theme as a base, but I've had the same problem with no theme base or parent.</p>