Hello. I am using the Connections theme, and I would like to display excerpts on the front page, rather than full posts. I know that I would usually replace the_content with the_excerpt… however I don’t see where I am even calling the_content!! Can someone please give me a hand with the code and let me know where to put in the_excerpt?
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<?php require(TEMPLATEPATH . '/post.php'); ?>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endforeach; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<p align="center"><?php posts_nav_link() ?></p>
- The topic ‘Code help – excerpts on front page’ is closed to new replies.