How do I take the header off of one page template?
-
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
I am trying to take the header off of one of my page templates and it keeps doing something weird like making the page larger than life, but the header is off. I basically don’t want the top menu showing on a certain page template. Any suggestions? This is the current code I have.
<?php /* Template Name: Fullwidth Page */ ?> <?php get_header(); ?> <!--Start Contetn wrapper--> <div class="grid_24 content_wrapper"> <!--Start Fullwidth--> <div class="fullwidth"> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <h1> <?php the_title(); ?> </h1> <?php the_content(); ?> <?php comments_template(); ?> <!--End comment Section--> </div> <div class="bigshadow"></div> <!--End Fullwidth--> <?php endwhile;?> </div> <!--End Content wrapper--> <div class="clear"></div> </div> <?php get_footer(); ?>
This is the part I already tried taking out
<?php get_header(); ?>
but it did that thing I mentioned earlier. Please help!
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘How do I take the header off of one page template?’ is closed to new replies.