Solved

Not able to remove header on in Word Press

Posted on 2014-11-22
5
108 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
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 insert an Iframe into WordPress. 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 : Open Page or Post…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now