Excerpt Loop in Atuhualpa 3.4
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, |
Problem Solved. I found that I have to put my code in bfa_post_parts.php. :)
|
All times are GMT -6. The time now is 08:26 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.