Solved

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

Posted on 2013-06-28
1
361 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

717 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