Using display-posts with posts_per_page="-1" limist total to 100

  • Unknown's avatar

    I have a page on my blog where I’ve listed, with dates, every single one of my posts. For that page, I’ve used:

    [display-posts include_date="true" date_format="- (F j, Y)" posts_per_page="-1"]

    Ever since the point at which I’d passed 100 posts, this code has been returning only the mos-recent 100 and I can’t figure out how to show them all. Worst yet, when it truncates the list and ends at 100, there’s no “see more” or anything that indicates that there are more than the 100 shown.

    How can I get this page to display every post in a list? The exact page is: http://sentientmouse.com/archives/

    Many thanks,
    Mark

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I’ve found through some experimentation, that the archives command returns all of the posts, but I can’t get the formatting to work the same way with the date, like with the display-posts command.

  • Unknown's avatar

    Well, the best I’ve been able to come up with is to use the [archive] shortcode, but I can’t make it add dates. That’s not a huge deal, but I’d grown fond of it. Here’s what I have now:

    [archives type=postbypost limit=102 showcount=true limit=500 format=html]

    And it’s on page: http://sentientmouse.com/every-post-ive-written/

    At the very least, it now goes all the way back to my very first post.

    Thanks,
    Mark

  • The topic ‘Using display-posts with posts_per_page="-1" limist total to 100’ is closed to new replies.