title: How do I get get_page_template_slug() without the .php file extension with wordpress?
body: <p>Basically what Im trying to do is </p>
  
  <pre><code>wp_enqueue_style('pageStyle', get_template_directory_uri() . '/css/' . get_page_template_slug() . '.css', array(), null, 'all');
  </code></pre>
  
  <p>which works fine, but it outputs <code>template.php.css</code> how do I make it so that it's <code>template.css</code> instead? </p>