Support » Installing WordPress » Archives & Categories – Not All The Posts Are Showing

  • Terry

    (@terry)


    I’ve upgraded from 1.2 to 1.5 tonight. I followed the instructions at http://www.tamba2.org.uk/wordpress/upgrade/upgrade_en.html .

    My blog: http://superaff.com

    If I view the archives & category sections, I only see two entries. In the ‘Options’ – ‘reading’ section of the admin panel, I set the blog pages to show ‘2 posts’. If I change this number to say ’15’, I’ll see 15 entries in each of the categories or archives.

    What do I need to do to see *all* of the entries in each of the categories and the archives?

    Sorry if this is simple – I’ve been struggling with this for the past two hours.

    TIA for any help.

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

    (@terry)

    Ok I just realized that this is a little different from my previous template I used (which showed every entry in each category/archive). If I set blog pages to be shown at ‘2’, only 2 will be shown – but with a Previous link to read the older posts.

    This previous link works for the archives, but I get a 404 error in the categories. How can I fix this?

    Sorry for not realizing it’s the same problem mentioned here already:

    http://wordpress.org/support/topic.php?id=24072#post-136039

    Terry

    (@terry)

    Found the answer here:

    http://wordpress.org/support/topic.php?id=23333

    and added this in the root index.php

    $posts_per_archive_page = -1;
    $posts_per_category_page = -1;

    above:
    require(‘./wp-blog-header.php’);

    This shows all the entries which I’ll use for now until I can get the fix for the 404 error in the category pages.

    Believe it or not – I did do a search before starting this thread! lol

    missteresa

    (@missteresa)

    I did as well!! 🙁 Thanks!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Archives & Categories – Not All The Posts Are Showing’ is closed to new replies.