Forums

Menu issue.... (4 posts)

  1. I3
    Member
    Posted 2 years ago #

    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

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Have you tried creating a new page with this template? Is it a top level page? Does your site's menu show child pages?

  3. I3
    Member
    Posted 2 years ago #

    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.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags