Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search Statistics › Reply To: Search Statistics
May 24, 2016 at 11:06 am
#8774
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 :)



