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

Excerpt Loop in Atuhualpa 3.4


  #1  
Old Sep 19, 2009, 01:14 AM
nicholas
 
2 posts · Sep 2009
Hi,

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.

Old
<?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?

Thanks,

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

Bookmarks

Tags
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 04:12 AM.


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