number of results for a WPFTS Pro search
We have WPFTS Pro installed on our site, and I continue to be impressed by how fast and comprehensive it is for searches.
I've been working on configuring the plugin, and I'd like to be able to have WPFTS display the total number of results returned for a given search. (in addition/as opposed to the score).
Thanks in advance for any recommendations/suggestions you can offer.
EpsilonAdmin last edited by
Do you mean a number of the relevant words for each search result item or a total of posts found?
If you need only the number of found posts, you can use WP_Query's property found_posts.
I didn't test this, but it should work.
Thank you, works like a charm. Much appreciated!