Add pagination example for posts