Revert "New latest-posts function"

This reverts commit 011bc3c649dfd2f600eb4b330c0a1de52f33123a.