wp_get_archives and “postbypost” argument limited to only 400 posts ?
-
Hello all,
as many of you I am running a dedicated monthly archives page on my site (https://www.bassanese.org/archives/). But I do also have a postbypost archive page (https://www.bassanese.org/plan/) wich I basicaly use as a WCAG “site map” and have lately noticed an issue with it.
Before I reached circa 400 posts on my site, I had no problem with it, everything was displaying correctly. But after, the page didn’t showed entirely : it only displayed the code before the loop “wp_get_archives”.
In order to have it working again, I had to set a limit of 402. (while 403 will reproduce the issue)
My current code (full display is ok) :
<?php wp_get_archives('type=postbypost&limit=402&format=custom&after=<br />'); ?>
Previous code (partial display stops before the loop) :
<?php wp_get_archives('type=postbypost&format=custom&after=<br />'); ?>
Of course, it is working now, but I would like to have the full list displayed, not a limited one.
I have reviewed codex and support but found nothing related with my issue.
Any idea on what’s happening ?
- The topic ‘wp_get_archives and “postbypost” argument limited to only 400 posts ?’ is closed to new replies.