Solved

Not able to remove header on in Word Press

Posted on 2014-11-22
5
117 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
  • 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 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Like there are many different versions of Wordpress, there are also a handful of related side projects WordPress users should be familiar with.   All of these projects are open source and GPL licensed, which means there are few restrictions to us…
Transferring a wordpress site from a host or local dev server to another host can be a pain. So I've included my steps on how I have accomplished this task. Steps include an assumption that you have Cpanel access or Ftp access.. If you do not hav…
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

840 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