Support » Themes and Templates » front-page.php is being used on all pages

  • Resolved HennHoneyball

    (@hennhoneyball)


    Hi,

    I’m afraid I’ve done something terribly wrong, but can’t figure out what it is.

    I’ve got a page.php file and a front-page.php file that is being called up as the home page. The problem is all of the pages I’ve created are displaying front-page.php instead of page.php.

    Can anyone help me?

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter HennHoneyball

    (@hennhoneyball)

    This is what my page.php looks like:

    <?php
    get_header();
    ?>
    
    <div class="frame">
      <div class="bit-66">
    
        <?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-66-->
    
      <?php get_sidebar( 'primary' ); ?>
    
    </div><!--frame-->
    
    <?php
    get_footer();
    ?>
Viewing 1 replies (of 1 total)
  • The topic ‘front-page.php is being used on all pages’ is closed to new replies.