In response to this older topic:
These solutions seem a little convoluted. Why not just use $wp_query->post_count and save a database call?
Here is the code for the top of my search template:
- The topic ‘How to display the number of search results found (redux)’ is closed to new replies.