WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Offset - Display all post in 2008 *EXCEPT* eight most recent? (2 posts)

  1. JAB Creations
    Member
    Posted 6 years ago #

    This should be working according to the documentation here...
    http://codex.wordpress.org/Template_Tags/query_posts#Offset_Parameter

    if (have_posts()) :
    query_posts("offset=3&posts_per_page=-1&year=2008");
    while (have_posts()) : the_post(); ?>
     <div><a href="<?php the_permalink() ?>" tabindex="3" title="<?php the_title_attribute(); ?>"><?php the_time('M d, '); the_title(); ?></a></div>
    <?php endwhile;
    endif;

    I just want to display a small list of anchors to all the posts in the year 2008 except the latest eight posts (since this list is an archive list).

    So the exact issue right now is that it's not removing the last (most recent) eight posts.

  2. JAB Creations
    Member
    Posted 6 years ago #

    I'm going to presume by the lack of any one bothering to post that this is a WordPress bug.

Topic Closed

This topic has been closed to new replies.

About this Topic