Create pagination for Wordpress posts