Title: Page Not Loading Theme
Last modified: August 18, 2016

---

# Page Not Loading Theme

 *  [jimmyjohn](https://wordpress.org/support/users/jimmyjohn/)
 * (@jimmyjohn)
 * [19 years ago](https://wordpress.org/support/topic/page-not-loading-theme/)
 * I’ve created a preliminary theme that I’m just trying to get to load, under the
   name schedule.php:
 * > <?php
   >  /* Template Name: Schedule */ ?>
 * <?php get_header(); ?>
 * <div id=”content”>
 * <?php include(TEMPLATEPATH.”/l_sidebar.php”);?>
 * <div id=”contentmiddle”>
    <?php if (have_posts()) : while (have_posts()) : the_post();?
   >
 *  <?php the_excerpt());?>
 *  <?php endwhile; else: ?>
    <p><?php _e(‘Sorry, no posts matched your criteria.’);?
   ></p><?php endif; ?> <?php posts_nav_link(‘ — ‘, __(‘« go back’), __(‘keep looking»’));?
   > </div>
 * <?php include(TEMPLATEPATH.”/r_sidebar.php”);?>
 * </div>
 * <!– The main column ends –>
 * <?php get_footer(); ?>
    The code works just fine if I load it into archive.php
   and then load a given month’s posts. I set up another page, “Schedule”, with 
   schedule.php as its template, expecting it to produce the same results as the
   archive page with this code, but instead I’m getting nothing. It’s simply not
   accessing The Loop. Where are I going wrong?

The topic ‘Page Not Loading Theme’ is closed to new replies.

## Tags

 * [archive.php](https://wordpress.org/support/topic-tag/archive-php/)
 * [pages](https://wordpress.org/support/topic-tag/pages/)
 * [templates](https://wordpress.org/support/topic-tag/templates/)
 * [the_excerpt](https://wordpress.org/support/topic-tag/the_excerpt/)

 * 0 replies
 * 1 participant
 * Last reply from: [jimmyjohn](https://wordpress.org/support/users/jimmyjohn/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/page-not-loading-theme/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
