This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Result Count Issue

#36005
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

There is an intentional limitation for the results counter to perserve some performance, but it can be lifted programmatically. Basically, you have set to show 8 results at the time, and the results counter will display at most 10x the limit of that minus the results already displayed, therefore it is 80-8 = 72.

There are two ways you can resolve this:
1. To hide the counter via custom CSS:

a.asp_showmore span {
    display: none;
}

2. By lifting the limit for the counter via a small custom code snippet. For that, try adding this code to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.

add_filter( 'asp_query_args', 'asp_change_remaining_limit_mod', 10, 2 );
function asp_change_remaining_limit_mod( $args, $id ) { 
  $args['_remaining_limit_mod'] = 9999999;
  return $args;
}

Let me know if you need help with any of these.