Pages displaying home.php instead of page.php
-
Hi,
I’m busy creating a completely custom theme for a client and I’m having a bit of trouble.
For some reason my pages all display home.php instead of page.php I’ve gone through the template hierarchy and related docs but can’t find a solution.
I’ve got:
index.php
home.php
front-page.php
page.phppage.php below:
<?php get_header(); ?> <div class="frame"> <div class="bit-1"> <?php while (have_posts()) : the_post(); ?> <article> <h3 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <p><?php the_content(); ?></p> </article> <?php endwhile; ?> </div><!--bit-1--> </div><!--frame--> <?php get_footer(); ?>
Any help would be appreciated.
- The topic ‘Pages displaying home.php instead of page.php’ is closed to new replies.