Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] use the header only on the posts page/home page and exclude all other pages


  #1  
Old Oct 15, 2010, 08:49 PM
mimikbos
 
18 posts · Sep 2010
I'm using the posts page/home page as the front page of the site with a different landing page for all other pages on the site. I only want the header image to show up on the post page.

Reading>set to front page displays>your latest posts

How do I exclude the header on all other pages?
  #2  
Old Oct 15, 2010, 09:54 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
You could use something like this in place of %image and just change the page id to that of your home page.
HTML Code:
<?php if( is_page('341') ) { ?>
%image
<?php } ?>
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Oct 15, 2010, 09:57 PM
mimikbos
 
18 posts · Sep 2010
I saw that in a few place but when the home page is set to Front Page Displays Latest Posts there is no Page ID.
  #4  
Old Oct 15, 2010, 09:58 PM
mimikbos
 
18 posts · Sep 2010
Could I use: %home%
  #5  
Old Oct 15, 2010, 10:01 PM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
In that case you would use
<?php if( is_home() ) { ?> %image <?php } ?>
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Oct 16, 2010, 11:10 AM
mimikbos
 
18 posts · Sep 2010
PERFECT! Thank you!!!!

Bookmarks

Tags
header configuration

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I add Posts on Pages or just on the home page? catada Page & Category Menu Bars 4 Feb 28, 2016 04:57 PM
specifying different header & header heights for the home page vs. all other pages ktbiz Header configuration & styling 6 Aug 23, 2010 12:24 PM
Need help with static header on home page/no header on other pages dorothy Header configuration & styling 1 Apr 16, 2010 01:20 PM
Page menu: How to exclude ALL pages but a few? tagesk Page & Category Menu Bars 1 Jan 1, 2010 08:35 AM
Static Home Page - Pages - Articles - Posts ScottiedogDave Atahualpa 3 Wordpress theme 3 Apr 17, 2009 06:10 AM


All times are GMT -6. The time now is 03:35 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.