• Resolved mjbouch

    (@mjbouch)


    When I click on a category in the sidebar, wp will only show a portion of the posts I’ve made in that category. There doesn’t seem to be any rhyme or reason to the number it will show but currently no more than 8. Any help would be much appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mjbouch

    (@mjbouch)

    maybe two separate issues but the right column jumps around depending on which category I click on as well.

    here’s the category template code

    ?php get_header() ?>

    <div class=”post”>

    <h2><?php echo single_cat_title(); ?></h2>

      <?php $posts = query_posts($query_string . ‘&nopaging=1’); ?>

      <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    • |
      <?php the_title(); ?>
    • <?php endwhile; ?>

    <?php else : ?>
    <?php include (TEMPLATEPATH . ‘/errormessage.php’); ?>
    <?php endif; ?>

    </div><!– end .post –>

    <h4>
    <?php posts_nav_link(”,”,’previous page’) ?> |
    “><?php _e (‘home’) ?> |
    <?php posts_nav_link(”,’next page’,”) ?>
    </h4>

    <?php get_footer () ?>

    I am actually looking for the same thing. I just want to show 10 or so posts on the main page, but on the category links I want to show all posts. Not quite sure how to accomplish this, as the “show this many posts” section in the admin panel seems to control both.

    The admin panel controls everything.
    Use the CQS (custom query string) plugin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Show all posts in any given category’ is closed to new replies.