Support » Themes and Templates » Page Template Stopped Working After Update

  • I have a site that has been functioning flawlessly for 3 years that has suddenly stopped working. It uses a custom page template to display a full width event calendar without a sidebar. For some reason, the page template is no longer being recognized. Instead of the full width calendar, I still get the calendar plus sidebar. The template does appear in the dropdown if I try to edit the page, but it does not take effect. The page is calling the page.php or index.php instead of the correct template. I’m not sure exactly when this happened, but I believe it was after updating to 3.5.1

    Take a look at

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi


    Forum Moderator

    It sounds like there’s a problem with your custom page template. as this is a custom theme, have you tried contacting the theme’s original developer about this?

    It is a custom theme that I created myself and it worked perfectly for several years before it stopped working. I’ve tried everything I can think of to correct it.

    Template Name: Calendar-Page
    <?php get_header(); ?>
    <div id="content">
    <div id="post-content-wide">
    <div class="post-wide">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
     <h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
     <?php the_content(__('Read more'));?>
     <?php cgm_event_calendar(); ?>
    <?php endwhile; else: ?>
      <p><strong>There has been a glitch in the Matrix.</strong><br />
      There is nothing to see here.</p>
      <p>Please try somewhere else.</p>
    <?php endif; ?>
    </div> <!-- end .post-wide -->
    </div> <!-- end #post-content-wide -->
    </div> <!-- end #content -->
    <?php get_footer(); ?>


    Forum Moderator

    Try checking your site’s error logs for a more specific error message. In the meantime, try uploading a fresh copy of that template file.

    Nothing in the error logs. Uploaded fresh copy of template file and the same problem persists.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page Template Stopped Working After Update’ is closed to new replies.