A way to limit the number of archive posts retained.

  • Unknown's avatar

    I’m trying to set-up WordPress for someone that doesn’t want a blog per-se, but wants to use WordPress as a lightweight CMS to manage a single-page website. They DON’T want to archive any postings and want only a week’s worth of postings visible. Is there some way (via a plugin, maybe?) to limit the number of archive postings kept, and automatically roll-off and delete postings older than a week. (or some arbitrary time-frame.)

  • Unknown's avatar

    Since you mention plugins, I suspect your are talking about a self-hosted wordpress blog. If that is the case, you are in the wrong forum and should be posting at http://wordpress.ORG/support

  • Unknown's avatar

    I did that, but I’ll take an answer that applies to either wordpress.COM or wordpress.ORG – I’ll implement whichever meets my client’s needs.

  • Unknown's avatar

    Well, the software is different. And it’s not an option here at wordpress.COM.

  • Unknown's avatar

    consultiq,
    I think you could do it on wordpress.com by simply not making any posts. Just make a static page with the articles for the week. Then change the page after the week changes, manually.
    Keep in mind that I don’t know what CMS is.

  • Unknown's avatar

    Thanks 1tess, that’s a helpful idea. BTW, “CMS” is content management system.

  • Unknown's avatar

    All you really have to do is remove the Archives widget. Then they’ll still exist, but nobody will be able to find them without being very clever indeed.

  • Unknown's avatar

    And if you want to use WordPress as a CMS, you really don’t want WordPress.COM. You want WordPress.ORG, which as Vivian says works quite differently.

  • Unknown's avatar

    Hi,

    I’m familiar with both the .COM and .ORG versions. I’m trying to figure out if I can use any wordpress variant to give this guy a modern-day solution to managing his website in a way that works closely to what he’s used to doing now with a 1995 version of MS Frontpage.

    Your idea for removing the archives widget is helpful, but along with that, we’d need to limit the number of posts that appear on the main page, down to 5 or so, but that would limit them by number and not by date. Also, any permalinks for old posts in the archives would still work. Ideally, the old posts would be deleted from the database and the permalinks removed as well.

  • Unknown's avatar

    If you’re on .COM, you’re going to have to set those old posts to Private or Draft or delete them.

  • The topic ‘A way to limit the number of archive posts retained.’ is closed to new replies.