(This may belong in "advanced" but as of 5 minutes ago only moderators could start new threads there...)
Hi, so I can't get post teasers to display on my front page unless I actually put "the_excerpt" in my code (which I don't want to do).
The homepage is a normal "page" with its own content (mission statement, etc) but then I added in some extra PHP to the template to pull the most recent post. Unfortunately, that post always shows up in its entirety... (
http://codex.wordpress.org/Template_Tags/the_content)
Here's the code:
<?php $latestPost = new WP_Query();
$latestPost->query('showposts=1');
while ($latestPost->have_posts()) : $latestPost->the_post(); ?>
<div id="post"> etc...
<?php the_content( __( 'Read More <span class="meta-nav">»</span>', 'sandbox' ) ) ?>