?
Solved

Not able to remove header on in Word Press

Posted on 2014-11-22
5
Medium Priority
?
139 Views
Last Modified: 2014-12-01
I am trying to create a new home page using word press plug in called visual composer.
When I create the page the header from the current website appears at the top.
My word press website uses an existing.

I need to remove the header because the header take up to much real estate.

The header should not appear on the page I am creating with visual composer but should remain on the others.

I am pretty much trying to create a better landing page for better conversion since the current one is not working.  

When I google how to remove the existing template I saw this article that states I should select 'my custom page' under Page Attributes -> template.

http://codex.wordpress.org/Page_Templates#Creating_a_Page_Template

However I do not see  this option.

Attached image of what I see.
0
Comment
Question by:Sanjeet
[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
  • 4
5 Comments
 
LVL 38

Expert Comment

by:Tom Beck
ID: 40459811
You will not see additional page templates listed until you create custom template files and save them to your themes folder.
A quick, safe method for making a new Page template is to use with a copy of your page.php: This way you start off with the HTML structure of your other pages, then you can edit as needed.
You edit the template name in your version of page.php (renamed to something like page-custom.php).
<?php
/*
Template Name: My Custom Page
*/
?>
That's all it takes to get the new template to show up in the list. Then of course you need to customize the markup to get the page you want.

Having explained all that however, if you only want to remove the header area on the home page (like remove the title and banner for example,) you should copy the header.php file to a new file and change the name to something like header-home.php. Edit header-home.php to remove the title and banner. Then, where get_header() is being called in the page.php file, you add a conditional like
if ( is_front_page() ) {
    get_header( 'home' );
} else {
    get_header();
}
So that header-home.php is called for the home page instead of header.php.

Here's a similar question:
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/HTML/Q_28564623.html
0
 

Author Comment

by:Sanjeet
ID: 40459821
Can all this be done through the Word Press admin interface or do  have to access the server and change the code?
0
 
LVL 38

Accepted Solution

by:
Tom Beck earned 2000 total points
ID: 40459912
You have to have access to the file structure to add new files and change the code in the new files.
0
 
LVL 38

Expert Comment

by:Tom Beck
ID: 40459921
Some themes allow you to remove the header on a single page like the Headway theme described here.

https://www.youtube.com/watch?v=nyaY_3yoOX8
0
 
LVL 38

Expert Comment

by:Tom Beck
ID: 40459935
Here's another way to do it. Add the Header and Footer plugin to your Wordpress site and edit the plugin settings to add a style to the home page to hide the banner and title. In my test, the header element had an id="masthead". Yours will probably be different.
Header and Footer plugin
0

Featured Post

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

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

How to install BuddyPress on your self-hosted WordPress site It’s been called everything from “social networking in a box” to “Facebook without the terms of service,” but until Feb. 16, BuddyPress was a relatively unknown outside the WordPress MU…
I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

719 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