Hey Elvira,
thanks for reaching out! You can make this possible (but make backups before you change anything and note that it wasn’t meant to work this way!) by going to “Plugins”-> “Editor”-> select Search Everything plugin in the upper right corner, find search-everything.php file, select it and then find the “function se_build_search_tag()” function.
Replace the $searchand = ' AND ';
with the $searchand = ' OR ';
:
function se_build_search_tag() {
global $wpdb;
$vars = $this->query_instance->query_vars;
$s = $vars['s'];
$search_terms = $this->se_get_search_terms();
$exact = isset( $vars['exact'] ) ? $vars['exact'] : '';
$search = '';
if ( !empty( $search_terms ) ) {
// Building search query
$n = ( $exact ) ? '' : '%';
$searchand = '';
foreach ( $search_terms as $term ) {
$term = addslashes_gpc( $term );
if ( $this->wp_ver23 ) {
$search .= "{$searchand}(tter.name LIKE '{$n}{$term}{$n}')";
}
$searchand = ' OR '; <------HERE!!!!
}
$sentence_term = esc_sql( $s );
if ( count( $search_terms ) > 1 && $search_terms[0] != $sentence_term ) {
if ( $this->wp_ver23 ) {
$search = "($search) OR (tter.name LIKE '{$n}{$sentence_term}{$n}')";
}
}
if ( !empty( $search ) )
$search = " OR ({$search}) ";
}
$this->se_log( "tag where: ".$search );
return $search;
}
Check the screenshot for easier navigation.
Let me know how it goes, take care and have a nice day,
Petra