Thanks Jonathan,
I am using the following function. Slider is one of my custom fields:
add_filter('relevanssi_excerpt_content', 'custom_fields_to_excerpts', 10, 3);
function custom_fields_to_excerpts($content, $post, $query) {
$custom_field = get_post_meta($post->ID, 'slider', true);
$content .= " " . $custom_field;
return $content;
}
But nothing still . Are you any ideas to add function ?
Best regards