[Plugin: Dave's WordPress Live Search] Maximum Results to Display option problem
-
Hello everybody,
I may have found a problem for this plugin.
I wanted to limit the number of posts shown by the plugin, so I put some values like 10, 15, 20 in ” Maximum Results to Display ” option in the back-office.
But it seems that nothing happens.I take a look in the file daves-wordpress-live-search-ajax.php, line 121. That’s here (I think) where is use the value we put in ” Maximum Results to Display “.
But I don’t know where is $maxResults set up, except at lines 287-288 but $maxResults is not use after that in the DavesWordPressLiveSearchResults call.In old version 1.9, we have this line 219 :
$wp_query->query(array(‘s’ => $_GET[‘s’], ‘showposts’ => $maxResults));
where $maxResults is well used.Can somebody take a look ?
Thanks
François
- The topic ‘[Plugin: Dave's WordPress Live Search] Maximum Results to Display option problem’ is closed to new replies.