WordPress.org

Ready to get started?Download WordPress

Forums

Recent Entries (Minus Entry #1) (1 post)

  1. mhains
    Member
    Posted 7 years ago #

    Hi there, I've been clipping code from various themes in an effort to get just what I want, and I'm close at http://www.hainsworth.com

    My "Top Stories" sidebar, however, includes story #1 -- which is already in full form in the index.php.

    Is there a way to list the most recent entries, minus the very first one?

    Here's my sidebar code:


    <?php query_posts('showposts=4');?>
    <?php while (have_posts()) : the_post(); ?>
    ---display code---
    <?php endwhile;?>

    Hope you can help. Thanks!

    Michael

Topic Closed

This topic has been closed to new replies.

About this Topic