• I created a new template page. The default template displays sidebar but the new page does not.

    <?php
    /*
    Template Name: Products_Template
    */
    ?>
    <?php
    get_header();
    get_sidebar();

    get_footer();

    ?>

    If anyone can help with it would be greatly appreciated. I’m a newbie so it could be something very simple. Using WP 2.8

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you tried creating a new page with this template? Is it a top level page? Does your site’s menu show child pages?

    Thread Starter i3

    (@i3)

    Yes. I created a new page and assigned this template to it. That’s how I found out it isn’t working.

    No, its not a top level page. But if I change the template for the page to default, the menu appears fine.

    Just noticed that you have something missing in that template. Something that displays the page content. Either than or you need to hardcode content into the template itself. Not that this explains your sidebar issue.

    What does your default page.php look like?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu issue….’ is closed to new replies.