an
groups-icon

Page Template still pulls in side bar.

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    George Lee
    0 points
    Beginner

    Hi guys,
    I am trying to create a new page template that doesn’t show anything except header and footer and the content, then I want to maybe add some custom HTML within the two.

    I have put my “test.php” page template within my child theme and selected it when creating a new page but when I came to running the new page it still pulls in the left Side Bar (which I don’t want). This is the code and I believe it should work after reading and watching lots of tutorials ect. This is the code:

    <?php
    /*
    Template Name: test
    */

    ?>

    <?php get_header(); ?>

    <?php the_content(); ?>

    <?php get_footer(); ?>

    Am I missing something? any help would be greatly received!

    Thanks in advance!!

    February 7, 2015 at 11:02 am
  • Errol Hutchinson
    -4 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    February 9, 2015 at 3:22 am
  • George Lee
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    February 9, 2015 at 12:36 pm

434

Views

2

Replies