Add pagenator for posts