WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am looking to show the latest posts on my site home page, which is using P2 theme. I want them to be shown in excerpts.

I have found the following code on a site, it said its in the entry.php file. Change,

<?php elseif ( 'post' == p2_get_the_category() ) : ?> <?php p2_title(); ?> <?php the_content( __( '(More ...)' , 'p2' ) ); ?> <?php else : ?>


<?php elseif ( !is_singular() ) : ?> <?php p2_title(); ?> <?php the_excerpt(); ?> <?php else 

When I looked in the entry.php file, I can not see this code, so I can only assume it was an outdated P2 theme. Does anyone know what code I need to change in the updated P2

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.