Pagination preparation for each themes