I’m trying to display the five most recent posts on my page. It should display the first post in full-length and then the five most recent posts with just the title.
The code I’m using now is:
<?php wp_get_archives(‘type=postbypost&limit=10&format=html’); ?>
It does display the five most recent posts, but it includes the one in full-length to. I don’t want it to include the most recent post.
Anyone know how to achieve this?
- The topic ‘Display the 5 most recent posts’ is closed to new replies.