Archives will not show all posts
-
My archives will not show “all” my posts. If I set showposts=200 it doesn’t show any posts at all. If I set it at 133 or less though, it shows the number specified. I have tried showposts=-1 which gives me nothing, I have tried combining cat=1,2… to make it show more which worked to get it to show a little over 200. But I have 400+ posts I want to show on this page, and it will not show them all with any code I have tried. Any ideas? The code I am using is below.
<dl class="entryList"> <?php query_posts('showposts=200'); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <dt><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></dt> <dd> <div class="asideBlock date"> <?php echo date('F jS, Y', strtotime($post->post_date)); ?> <!-- /.asideBlock --></div> <?php the_excerpt() ?> </dd> <?php endwhile; endif; wp_reset_query(); ?></dl> </div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Archives will not show all posts’ is closed to new replies.