Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Filter by YYYY and Search topic in filter › Reply To: Filter by YYYY and Search topic in filter
November 19, 2021 at 12:53 pm
#35641
Keymaster
Hi,
1. Probably the auto populate results counter is still taken into accout, try increasing this option.
2. It seems to be working okay on my end, try refreshing the cache.
3. The cut off is at a word boundary, not at sentence boundary. I am not sure if there is a simple solution for this. You man need to look into a custom function capable of detecting sentence endings, and then apply it via the asp_results filter.
4. I assume that is within the “abstract” field. Try something like this:
add_filter('asp_results', 'asp_strip_tags_on_content', 10, 1);
function asp_strip_tags_on_content($results) {
foreach ( $results as &$r ) {
$r->content = strip_tags($r->content);
}
return $results;
}