Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 05: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 05:59 AM.
  #2  
Old Nov 27, 2010, 09:03 AM
lmilesw's Avatar
lmilesw
 
10,176 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, 05:37 PM
hubbiida
 
17 posts · Nov 2010
Many thanks for the reply. Unfortunately, that doesn't fix the problem.
  #4  
Old Nov 28, 2010, 07:15 AM
hubbiida
 
17 posts · Nov 2010
Hey STB,
Thanks so much! That did the trick.

Bookmarks



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 05:30 AM
[SOLVED] How to Eliminate Previous-Next Box Between Before-Loop and Loop? LaneLester Center area post/pages 0 Nov 10, 2010 10:03 AM
Adding Static Content "Above the Loop" on home page dchrist21 Center area post/pages 2 Sep 30, 2010 03:31 PM
Can you Hide "Content Below the Loop" on Pages? NoisyDvL5 Center area post/pages 3 Aug 19, 2010 07:51 PM
[SOLVED] Content Added to Loop has vanished NoisyDvL5 Center area post/pages 13 Jun 26, 2010 02:36 AM


All times are GMT -6. The time now is 05:45 PM.


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