The [vista_listings_total]
shortcode displays the total number of listings matching the current search filters set by URL parameters. This should only be used on pages with the [vista_listings_list]
shortcode- since there aren't any listings to display on pages without that shortcode, the count displayed by this shortcode would be meaningless.
This allows showing the user the total number of listings available, even when pagination is limiting the number displayed per page. The output number is based on the full count of listings matching filters across all pages, which may be higher than what is shown on the current page. The output is just the number, no other HTML. We recommend wrapping it in a suitable HTML element to facilitate clean display.
Example:
<h3>Total of [vista_listings_total] results</h3>