Oscar9ertango
asked on
How do I remove a header from custom word press template page
I need to replace the header image on custom template I put together.
If I want to just remove the header how do I do that, when ever I remove that line the whole structure of the page is changed
here is the php for the custom page
<?php
/**
/*
Template Name: Custom- Template
*/
get_header(); ?>
<div id="primary" class="site-content">
<div id="content" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template( '', False ); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
If I want to just remove the header how do I do that, when ever I remove that line the whole structure of the page is changed
here is the php for the custom page
<?php
/**
/*
Template Name: Custom- Template
*/
get_header(); ?>
<div id="primary" class="site-content">
<div id="content" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'page' ); ?>
<?php comments_template( '', False ); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.