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

Old Nov 27, 2010, 04:54 AM
17 posts · Nov 2010
[SOLVED] Content above loop on homepage only

I am attempting to show some content above the loop on the homepage only, using the following code I got from this post


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.


Last edited by hubbiida; Nov 27, 2010 at 04:59 AM.
Old Nov 27, 2010, 08:03 AM
lmilesw's Avatar
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.
Old Nov 27, 2010, 04:37 PM
17 posts · Nov 2010
Many thanks for the reply. Unfortunately, that doesn't fix the problem.
Old Nov 28, 2010, 06:15 AM
17 posts · Nov 2010
Hey STB,
Thanks so much! That did the trick.


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:08 AM.

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