Pagination with page numbers and post preview