Is there a conditional tag (or a similar concept) that can tell me wether the search returned posts or not?
1 Answer
global $wp_query;
echo $wp_query->found_posts;