A way to limit the number of archive posts retained.
-
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.)
-
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
-
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.
-
-
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. -
-
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.
-
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.
-
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.
-
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.