• Resolved patrick_here

    (@patrick_here)


    How do I make older posts continue to show up.
    I’m using an older theme (arthemia free) and it shows five posts per page but posts older than about two years old simply don’t show up. <u>I want them to show up.</u> What controls the cutoff date?

    Here’s the loop code from my index.php:

    $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
        query_posts("cat=-27,-28&paged=$page&posts_per_page=5"); ?>
        <?php while (have_posts()) : the_post(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter patrick_here

    (@patrick_here)

    Okay, it turns out that it’s not the date; it’s strictly limited to two pages of posts with five posts per page…
    The theme shows five most recent posts on the first page and then when the user clicks the “Next Page” link, it shows the next five posts. After that if user clicks “Next Page” wordpress returns a “404 Not Found” error.

    This happens regardless of the setting in “>Settings>Reading>’Blog pages show at most’> “

    So what cause this limit to a maximum of two pages?

    Thread Starter patrick_here

    (@patrick_here)

    NOTE: This question was based on incorrect information. I’ve opened a new thread on it here

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make old posts still show up’ is closed to new replies.