Support » Fixing WordPress » Show full year removing limit does not remove post count limit?

  • Resolved JAB Creations

    (@jab-creations)


    I imagine that this should filter all posts to be displayed in 2008 however it keeps only displaying the number limit I set in the control panel, 8. Is this a bug or am I missing something?

    <?php
    if (have_posts()) :
    query_posts('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 j, '); the_title(); ?></a></div>
    <?php endwhile;
    endif; ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Show full year removing limit does not remove post count limit?’ is closed to new replies.