Solved

Not able to remove header on in Word Press

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
looking for wordpress theme 3 46
RSS FEED - PROPERLY FORMATTED URL 2 60
Custom WordPress pages? 4 41
Presenting my portfolio on the web? 11 53
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 …
In Part I (http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_8410-Getting-Started-In-WordPress-Part-I.html), I introduced you to the powerful WordPress backend, the WordPress administrative Dashboard.  In Part II, I will introduce yo…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
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…

710 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