Hi,
I have searched the first 25 forum pages to find what I am looking for before I posted this, and kinda found it, but I would like your confirmation please!
[related forum article] https://wp-dreams.com/forums/topic/retrieve-total-result-count-with-live-filter/
Problem Description
I add incremental numbering in front of each post under each category and I would like to do the same with the results of the search plugin. I cannot do that currently, as I have no idea about the number of results.
Actions taken
1) I have applied the
add_filter( ‘asp_results’, ‘asp_number_results’, 10, 1 );
snippet suggestion, but this only adds numbering to the ajax dropdown list.
2) I have tried to use the WP search results variable $wp_query->found_posts, but it comes back empty.
Request
I would like to use a “results” variable from your plugin so that I can count the results on the result page.
Or some kind of structure with the total results that I can show using a loop.
Is there such functionality?
Kind Regards,
Efthymios