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 » Excerpts, Read more, Pagination »

Excerpt Loop in Atuhualpa 3.4

Old Sep 19, 2009, 01:14 AM
2 posts · Sep 2009

I just begin to use Atuhualpa 3.4.2. My problem is that I want to show excerpt only for posts from specific categories. Normally, I ajdust excerpt loop (Statement: <?php the_content(); ?>) in my wp theme but in atuhualpa 3.4 I can't see the loop that i'm looking for. This is what I normally chage in exisitng wp theme file index.php.

<?php the_content(); ?>

I change it into
<?php if ( in_category( array( 'test' , 'hello' ) )) { ?>
<?php the_content(); ?>
<?php } else { ?>
<?php the_excerpt(); ?><a href="<?php the_permalink(); ?>" title="Read More…">Read More…</a>
<?php } ?>

Any ideas?


Last edited by nicholas; Sep 19, 2009 at 01:16 AM.
Old Sep 19, 2009, 02:54 AM
2 posts · Sep 2009
Problem Solved. I found that I have to put my code in bfa_post_parts.php.


excerpt, excerpts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Redirect Loop" Issue When Clicking ANY blog link!!?? River2Horses Atahualpa 3 Wordpress theme 5 Sep 29, 2010 02:47 PM
Loop Code Displaying Instead of Pages TheInfamousGdub Atahualpa 3 Wordpress theme 6 Aug 27, 2009 08:52 PM
Trying to modify the loop sspeedy Post-Kicker, -Byline & -Footer 5 Aug 27, 2009 06:38 PM
Only Pages in the loop sumochill Excerpts, Read more, Pagination 1 Aug 13, 2009 09:52 AM
Where is the "Excerpt" part of The Loop in Atuhualpa JakeThePeg Excerpts, Read more, Pagination 6 Aug 10, 2009 05:12 AM

All times are GMT -6. The time now is 03:06 AM.

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