• I just realized with wordpress-2004-08-01 and wordpress-2004-08-04, too, the output of wp_get_archives() limits the number of posts shown to the number of posts shown on the front page, which is not correct – it should show an unlimited number i.e. all posts of a given month.
    I verified this by changing the front page value from 10 to 11 which resulted in one post mor showing up in month-view.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Take the tag out of ‘The Loop’, that ought to do it.

    Thread Starter bronski

    (@bronski)

    Thanks, but wp_get_archives() is not in the loop.

    Thread Starter bronski

    (@bronski)

    To be precise it is not the function wp_get_archives() but the index-loop.
    When you access your archive like https://bronski.net/wp-archiv/2004/07/ , in my case, I should get all 89 posts made in July. Instead I only get the last 10.
    The month-view is a special case of index so it should not be limited, shouldn’t it?

    The default is now to page the archive pages, so you need to put the page navigation template tags in your index.php.

    Thread Starter bronski

    (@bronski)

    Yes, right! My index.php is outside of the WP-dir so I didn’t catch that change… ?? Thanks a lot for pointing that out!
    Not to forget having to change some rewrite-rules, of course.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wp_get_archives() limits number of posts’ is closed to new replies.