Forums
(@martinschaer)
15 years, 8 months ago
I print_r the variable wp-query and found this field: found_posts.
So, my code now looks like this:
<p class="search-count">Hay <?=$wp_query->found_posts;?> resultados.</p>