This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Filter by YYYY and Search topic in filter

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

#35641
Ernest MarcinkoErnest Marcinko
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;
}