Support » Fixing WordPress » page template problem

  • when I define a single page template, such as about.php and page-index.php.I have define page.php also,whose content is following:

    <?php get_header(); ?>

    if (is_page(‘about’)){
    include (TEMPLATEPATH . ‘/about.php’);
    } else {
    include (TEMPLATEPATH . ‘/page-index.php’);

    <?php get_footer(); ?>

    but when I go to browse http://localhost/index.php/about ,

    I find there is a problem , the_header content missing, it just don’t

    display on the browser,I view the page source by the browse ,the_header conte is there.

    I want to know how it happens and how to solve it.

  • The topic ‘page template problem’ is closed to new replies.