?
Solved

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

Posted on 2013-06-28
1
Medium Priority
?
366 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 2000 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
Suggested Courses

800 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