Updated the recent_posts method to allow for extending the arguments