can print list of 10 recent posts
prints list of 10 posts with pagination