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


  #1  
Old Sep 19, 2009, 02: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 02:16 AM.
  #2  
Old Sep 19, 2009, 03: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 03:47 PM
Loop Code Displaying Instead of Pages TheInfamousGdub Atahualpa 3 Wordpress theme 6 Aug 27, 2009 09:52 PM
Trying to modify the loop sspeedy Post-Kicker, -Byline & -Footer 5 Aug 27, 2009 07:38 PM
Only Pages in the loop sumochill Excerpts, Read more, Pagination 1 Aug 13, 2009 10:52 AM
Where is the "Excerpt" part of The Loop in Atuhualpa JakeThePeg Excerpts, Read more, Pagination 6 Aug 10, 2009 06:12 AM


All times are GMT -6. The time now is 05:37 AM.


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