• Resolved Niclas

    (@niclas)


    Hi!

    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?

    thanks!
    /Niclas

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display the 5 most recent posts’ is closed to new replies.