Hey,
to make it search for multiple tags, go to “Plugins”-> “Editor”-> in the right top corner select “Search Everything” and then select the “search-everything.php” file. There replace the “function se_build_search_tag()” function with this one:
// create the search tag query
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 ';
}
$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;
}
Don’t forget to update the file and also make backups before you make any changes (better to be safe than sorry).
Let me know how it goes, take care and have a lovely day,
Petra