title: Checking for a post page template?
body: <p>Is it possible to check what template is a single post type using?</p>
  
  <p>I have a single post page and a single post portfolio page. Post page is <code>single.php</code> and portfolio is <code>single-portfoilo.php</code>. In my body I can see the classes loaded based on what page I'm on (what template is used).</p>
  
  <p>I cannot use <code>is_page_template()</code>, because that will only work on pages, not posts. My alternative is to use <code>is_single()</code>, but that will target the regular posts, and I only want the portfolio posts to be targeted by the if clause. </p>
  
  <p>Is there a workaround for this? It's really impractical :\</p>