[Solved] Have a blog with a max of 5 items [closed]


You have already answered your own question. When a new blog item is posted, simply locate the five most recent posts (including the one that was just posted) and delete (or mark as hidden) all other posts.

I find it would make more sense to simply not allow access to older blog posts and only retrieve the five most recent posts. This would let you keep all the old blog posts as an archive for the staff and prevent accidental deletions.

2

solved Have a blog with a max of 5 items [closed]