Support » Plugin: WP Search » How do I show the search result count?

  • Hello, thanks for such a wonderful plugin!

    Before installing the plugin I was using <?php echo $wp_query->found_posts ?> in my search.php template to display the search result count. After installing the plugin (my searches are faster and more relavant) the ->found_posts variable only contains my posts_per_page value (in this case 4). My pagination still works correctly though. How can I display the total number of search results in search.php?

    Thanks!

    http://wordpress.org/extend/plugins/wpsearch/

  • The topic ‘How do I show the search result count?’ is closed to new replies.