- This topic has 1 reply, 2 voices, and was last updated 7 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › PHP Code to display number of results
What Display Results Method are you using? If it is your own template, then you would need to know the name of the query variable. The default os for it to be named $wp_query, so some sample code would look like this:
<p>Found <?php echo $wp_query->found_posts; ?> Results</p>