Solved

Not able to remove header on in Word Press

Posted on 2014-11-22
5
129 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 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

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

Who says nothing in life is free? WordPress.com is a freebie. WordPress.org's downloadable publishing platform is free. Heck, even WordPressMU is free. WordPress is an open source project, which means it can be used on any personal or commerc…
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 exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

624 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