Use <?php the_title();?> rather than <?php the_content();?>
Thread Starter
steezY
(@steezy)
I did a little more searching around and managed to answer my own question. Here’s the code you need, just in case anyone else is trying to do the same thing that I am:
<ul>
<?php global $post;$myposts = get_posts('numberposts=10&offset=5');foreach($myposts as $post) :?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>