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!
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!!
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now