I'm trying to have a post from a certain category display on my static homepage.
I seem to everything working just how I'd like with one exception.
I'd like the post to included the standard Continue reading (<!--more-->
) link, but I can't seem to get it to work on my homepage instead all the post's content is displayed.
Here's the code I'm using to display the one post from a catagory on my home page:
<?php $recent = new WP_Query("cat=4&showposts=1"); while($recent->have_posts()) : $recent->the_post();?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<?php the_content( __( 'Continue reading →')); ?>
<?php endwhile; ?>
How do I get the <!--more-->
tag to work correctly with the above code?