New function to add class to next_posts_link