WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I'm a little confused with this one.

A blog I recently set up makes plenty of use of custom post types and custom taxonomies.

In the reading settings the blog posts to show is at 100 but I can find no where to tell taxonomy pages to show 100 posts and they are stuck at 10.

How do I change it without messing around with custom get_posts(); or extensive query_posts();

I have tried:

A custom query_posts(); loop

share|improve this question

Sorry - this is probably an obvious answer but without seeing your query_posts query it's hard to say if you've tried this or not. As you're altering the main query on the page query_posts should be the right tool for the job.

Something like the following query should work:

<?php query_posts( 'posts_per_page=100' ); ?>

<?php if (have_posts()) : ?>
// Something before posts display
<?php while (have_posts()) : the_post(); ?>
// Post Content
<?php endwhile; ?>
// Something after the loop                     
<?php else: ?>
// Something in case there are no posts
<?php endif;?>

If you've already tried this can you edit your answer to show the code you're using? Also are you using any custom taxonomy templates or are all taxonomies going through taxonomy.php?

share|improve this answer
That would be the obvious answer to what my query_posts(); did. – Alex Older Jan 11 '12 at 16:00
OK, so which template are you intending to use to display your results? Have you set up a specific taxonomy template or are you using something more generic like taxonomy.php or archive.php? – FourStacks Jan 11 '12 at 20:48
taxonomy.php template. – Alex Older Jan 12 '12 at 8:30
up vote -1 down vote accepted

I fixed the issue by removing the taxnomy.php page and let it fall back to index.php

share|improve this answer
That doesn't explain anything. Can you tell why it works now and why it didn’t work before? – toscho Mar 5 '12 at 16:57
I don't know why it works it just does and it's the only thing that worked – Alex Older Mar 5 '12 at 19:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.