Since the earliest versions of Relevanssi, I’ve used a custom query to manually “set” the number of search results returned, i.e.
$queryString = "post_type=post" . "&s=" . get_query_var('s') . "&posts_per_page=" . $postsPerPage . "&paged=" . get_query_var('paged'); $my_query = new WP_Query($queryString);
This always worked, until 2.7.4. Suddenly, regardless of the value of $postsPerPage, it always returns a number equal to the posts-per-page count set in the WP options. Any idea what would’ve caused this, and how I can get back to “manually” setting a result count?
- The topic ‘[Plugin: Relevanssi – A Better Search] Behavioral Change 2.7.3 -> 2.7.4’ is closed to new replies.