Tagged: Search result Viewing 2 posts - 1 through 2 (of 2 total) Author Posts August 31, 2011 at 10:25 am #5666 CarlorParticipant Hey, where is avia_which_archive() ? I would like to add the number of search results in the search-page. How must I proceed? In avia_which_archive(), if is search-archive, I must insert this <?php echo '<p>Found ' . $wp_query->found_posts . ' hits.</p>'; ?> or this <?php global $wp_query; echo '<p>Found ' . $wp_query->found_posts . ' hits.</p>'; ?> or other similar code (i.e. without $wp_query). Thanks September 1, 2011 at 11:23 pm #51315 KriesiKeymaster Hey! The function is located in framework/php/function-set-avia-frontend.php line 646 Best regards Kriesi Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The topic ‘Showing the number of search results’ is closed to new replies.