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 » Center area post/pages »

[SOLVED] Content above loop on homepage only


  #1  
Old Nov 27, 2010, 04:54 AM
hubbiida
 
17 posts · Nov 2010
Hi,
I am attempting to show some content above the loop on the homepage only, using the following code I got from this post

http://forum.bytesforall.com/showthr...ABOVE+the+LOOP

I have placed some content sandwiched by a condition, as follows:

<?php if( is_home() ) { ?>

some content

<?php } ?>

This works well in that it doesn't display the content on pages I create and on posts, but when I click on the "older entries" link at the bottom of the excerpts on the homepage, and it goes to (for example) . . . wordpress/?paged=2, the content is still displaying as it does on the homepage. Is there some way to prevent this and have only excerpts appear on pages linked to "older entries?"

Here is the site I'm developing: http://cognitive-behavior-therapy.com/wordpress/

I'm using Atahualpa 3.5.3.

Thanks in advance for any help on this.

Andrew

Last edited by hubbiida; Nov 27, 2010 at 04:59 AM.
  #2  
Old Nov 27, 2010, 08:03 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
What happens if you use the following conditional instead?
HTML Code:
<?php if( is_front_page() ) { ?>
__________________
~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 Nov 27, 2010, 04:37 PM
hubbiida
 
17 posts · Nov 2010
Many thanks for the reply. Unfortunately, that doesn't fix the problem.
  #4  
Old Nov 28, 2010, 06:15 AM
hubbiida
 
17 posts · Nov 2010
Hey STB,
Thanks so much! That did the trick.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Excluding certain categories from the homepage / loop thesis Center area post/pages 15 Nov 18, 2010 04:30 AM
[SOLVED] How to Eliminate Previous-Next Box Between Before-Loop and Loop? LaneLester Center area post/pages 0 Nov 10, 2010 09:03 AM
Adding Static Content "Above the Loop" on home page dchrist21 Center area post/pages 2 Sep 30, 2010 02:31 PM
Can you Hide "Content Below the Loop" on Pages? NoisyDvL5 Center area post/pages 3 Aug 19, 2010 06:51 PM
[SOLVED] Content Added to Loop has vanished NoisyDvL5 Center area post/pages 13 Jun 26, 2010 01:36 AM


All times are GMT -6. The time now is 10:18 PM.


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