Configured the post pagination.