Reply To: Search Statistics

#8774

Ernest Marcinko
Keymaster

Hi!

This section of the plugin is currently under re-construction, because it's outdated.

As a temporary solution, you can make direct modifications to the \wp-content\plugins\ajax-search-pro\backend\statistics.php file. On lines 48-49, you should see this:

$top20 = isset($_POST['searchform']) ? asp_statistics::getTop(20, $_POST['searchform']) : asp_statistics::getTop(20);
$last20 = isset($_POST['searchform']) ? asp_statistics::getLast(20, $_POST['searchform']) : asp_statistics::getLast(20);

You can change the limit of 20 to a higher number, like so:

$top20 = isset($_POST['searchform']) ? asp_statistics::getTop(40, $_POST['searchform']) : asp_statistics::getTop(40);
$last20 = isset($_POST['searchform']) ? asp_statistics::getLast(40, $_POST['searchform']) : asp_statistics::getLast(40);

Although I'm not sure how much can the graph safely display 🙂

Best,
Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)