What is the php function name to return quantity of search results?
I'd like to display the number of results coming back from a listings search. While I've found a way to do it if all search results fit on (1) page,
when it paginates I get the number of search results just for the current displayed page, not the grand total.
Inserting ...
<?php while ( have_posts() ) : the_post(); ?>
<?php $num_posts = ++$num_posts; ?>
<?php endwhile; ?>
in archive-listing.php comes up with the number of posts for only the current displayed page of listings.