title: Override Custom Page Template with page.php, and then calling Custom page template with get_template_part()
body: <p>I want to use page.php for ALL pages (so I don't have to repeat forexample get_header() and #section-top in all page templates) and then use get_template_part() to call content based on page-template. Right now I have my page.php and two content-parts, one is set to be standard, 'content-flexible.php' (if no Page Template is set) and the other is used to show posts 'content-posts.php'.</p>
  
  <p>This is my page.php file:</p>
  
  <pre><code>&lt;?php get_header(); ?&gt;
  &lt;main id="page-main" role="main" class="main"&gt;
          &lt;?php 
  
          ?&gt;
      &lt;section id="section-top" class="header cf"&gt;        
              &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
      &lt;/section&gt;
      &lt;div id="content-wrap" class="wrap cf"&gt;
              &lt;div id="inner-content" class="wrap cf"&gt;
              &lt;?php 
                  //Use page-templates for content
                  if( $post-&gt;post_parent !== 0 ) {
                      get_template_part('page-parts/content', 'posts');
                  } else {
                  get_template_part('page-parts/content', 'flexible');
                  }
              ?&gt;
              &lt;/div&gt;  &lt;!-- /inner-content --&gt;
      &lt;/div&gt; &lt;!-- end /content-wrap --&gt;   
  &lt;/main&gt;
  &lt;?php get_sidebar(); ?&gt;
  &lt;?php get_footer(); ?&gt;
  </code></pre>
  
  <p>Right now the else statement works (content-flixible.php is called), however when I set Page Template to "Posts page" it uses only the content-posts.php, since it follows WordPress normal hierarchy. How can I override this so I always use 'page.php' only swapping the content based on which Page Template is used in admin-pages?</p>