Hi Mikko, the problem is solved!
I hardcode the plugin “Ajax Load More for Relevanssi” that have a logic problem.
When are not results in Relevanssi then a empty array return to Ajax Load More, that execute a normal search.
From line 80 this do the trick:
else {
$args['post__in'] = array(0);
$args['posts_per_page'] = 0; // Reset 'posts_per_page' before sending data back
$args['offset'] = $old_offset; // Reset 'offset' before sending data back
}
Best!
-
This reply was modified 4 years, 9 months ago by tsguy89.
Hi Mikko! Yes that is correct! Admin search works good.
“ipe” keyword returns no results that is the expected behavior. So there is a compatibility problem between Ajax Load More and Relevanssi.
Any ideas?
Thanks!