Solved

How do I remove a header from custom word press template page

Posted on 2013-06-28
1
346 Views
Last Modified: 2013-07-27
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(); ?>
0
Comment
Question by:Oscar9ertango
1 Comment
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39284659
You're in the wrong template file.  The header image usually is set in header.php so edit that file and alter the img code as you wish.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now