$last_post = end($wp_query->posts);

Додати стартап