Page is using single.php not page_template.php
-
I have a bunch of pages that are set to use a custom page template. However, they are using the single.php instead of my page_template.php file.
This is a copy of the body_class();
class="page page-id-534 page-child parent-pageid-499 page-template page-template-single-php logged-in">I have this code at the top of my page_template.php file:
<?php /* Template name: Profile */ ?>And just the standard
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>on my single.php file.
There aren’t any custom queries running on the page_template.php file.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Page is using single.php not page_template.php’ is closed to new replies.